-
a function is a computation with an input and an output that is designed around the mathematical equation.
-
f(2) = 2^2 since it is an even number.(4)
f(7) = 7+10 since it is an odd number. (17)
f(0) = 0^2 since it is an even number. (0) -
F(x)= (x/4)-5
- A function is a specific input that the delivers an output.
- a)4 b)17 c)0
- f(x) = x/4-5
Homework on Functions - Questions
-
Describe what a function does in your own words
A function is a program and its purpose is to calculate an output based on the input. It uses a variable called x, this variable can represent the input number to achieve a mathematical equation. (eg x = 2) -
Calculate the output of the following function:
f(x) = {
x^2 if x is even
x+10 if x is odd
}
What will be the output for the following inputs?
- a) f(2) = 4
- b) f(7) = 17
- c) f(0) = 0
- Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.
The function would look like the following: Input = x, (x / 4) - 5 = output
Yeah, I assumed something like that
A function mathematically processes an input in a certain way and gives an output.
f(2)=4
f(7)=17
f(0)=0
f(x) = (x/4) - 5
If x = 8
( 8 / 4 ) - 5 = -3
-
A functions takes some kind of input, does calculations on that input, and returns that as function output.
-
The output of said function will be:
a) (f2) = 4, as 2 is an even number and the function will thus raise input to the power of two
b) f(7) = 17, as 7 is an odd number, and the function will thus add 10 to the input
c) f(0) = 1, as 0 is an even number - anything raised to the power of zero must equal 1 (although some argue that 0 raised to the power of zero can not be defined!)
f(x) = {
x = x / 4
x = x - 5
}
-
A function is a computation that calculates the output for various inputs
-
a) 4
b) 17
c) 0 -
f(x) = (x/4) - 5
1 - A function is a mathematical equation with variable X. Also a function will give the same output if given the same input.
2 -
a - 4
b - 17
c - 0
3 - f(x) = (x/4) - 5
1- a function is a mathematical equation in which X is a variable
2- A) = 4
B) = 17
C) = 0
3- f(x)= (x/4)-5
- Function apply the same formula to different inputs .
- A.4
B. 17
C. 0 - F(x) = x/4 -5
-
A function gives you an output, based on the input and the syntax of the function.
-
a. f(2) = 2^2 = 4
b. f(7) = 7 + 10 = 17
c. f(0) = 0 -
f(x) = (x/4) - 5
-
A function is a mathematical sequence that allows you to do equations based on certain inputs.
a. 4
b. 17
c. 0
- f(x) = {
(x/4) - 5
}
-
A function is a mathematical device that applies a specific step or steps to a value. You apply the specified step or steps of a function to an input value. Applying the steps of the function render an input as a value or calculated result of the specific steps or parameters that are applied to the input.
-
Calculate the output of the following function
f(x) = {
x^2 if x is even
x+10 if x is odd
}
What will be the output for the following inputs?
- a) f(2)
- b) f(7)
- c) f(0)
Answer:
A.4
B.17
C.0
- Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.
f(x) = (xรท4)-5
-
A function takes an input and gives you a mathematical output.
-
a) 4
b) 17
c) 0 -
f(x) = x/4 - 5
- Function
It is an input with X being a veritable which will lead to an Output.
2.a. 2
b. 7
c. 0
- f(x)=(x/4)-5
- A function has an input and an output. Inside the function there is a mathematically definition of what will happen with your input.
f(2)= 4
f(7)= 17
f(0)=0
- f(x) = (x/4)-5
-
A function is basically receiving some type of an input into the system and then recieve a cumputed output based on what the function is meant to do.
-
a. f(2) = 4
b. f(7) = 17
c. f(0) = 0 -
f(x) = x/4 - 5
why was this soo hard for me xD (not even sure if i got it right)
1.A function is a computation, calculation given input value to produce the output value.
2.a) 4
b) 17
c)0
3. f(x) = (x/4)-5
-
A function is a computation, its takes in an input and send out the output.
-
a). 4
2.b)17
2.c)0 -
f(x)=(x/4)-5