zero is an even number so f(0) = 0^2= 0.
A function relates an input to an output. … It is like a machine that has an input and an output. And the output is related somehow to the input. Some function are reversible and some are not, like hash function that are used in blockchain technology. The aim of this exercises is to have idea about function in general.
a) f(2), 2 is the input for the function and 2 is even number, even number means a number which is divisible by 2 and generates a remainder of 0.
f(2) = x^2= 2^2= 4, 4 is the output.
b) f(7), 7 is odd number
f(7) = x+10 = 7+10 = 17
c) f(0), 0 is an even number
f(0) = 0^2 = 0
1- 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 is a computation that gives output based on input using x as variable
a= 4
b=17
c=0
3.) f(x) = x/4-5
-
Function: Input that produces an output
F(2)4
F(7)17
F(0)0
- F(X) = (X/4) - 5
OMG, I forgot all my basic math!
-
Describe what a function does in your own words
Functions perform predefined actions or calculations based on the given input and will output the result. - 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)
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
}
-
Describe what a function does in your own words
A function is a computation that performed a predetermined calculation based on an 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) = 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.
f(x) = x/4 -5
-
Describe what a function does in your own words
Transforms an input to an output by following the predefined rules -
Calculate the output of the following function
- 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.
f(x) = x/4 - 5
-
A function calculates an output value from its input value(s). The calculated value is returned to the one using the function. Functions are used in math and in programming to transform some information to some other kind.
-
a) 4
b) 17
c) 0 -
f(x) = x/4 - 5
- A function is a mathematical equation, calculating the output of a specific equation.
- i) 4
ii) 17
iii)0 - f(x) = (x/4)-5
-
Describe what a function does in your own words: Follows an instruction with data input for a “x” result.
-
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.
f(x)=(x/4)-5
-
A function is a mathematical equation.
-
a) 4 b) 17 c) 0
-
f(x) = (x/4)-5
- A function makes a output from an input. The output is related to the input
- f(2)= 4 f(7)=17 f(0)=0
- f(x)= (x/4) - 4
- Functions make calculations
- (a) f(2)= 4
(b) f(7)= 17
© f(0)= 0 - f(x)= (x/4) - 5
It is actually an awesome explanation, man. Thank you. Keeping it simple and straightforward always makes things easier. Thanks, Ken. Appreciate ya, man!
A function is a computation. As any computation, functions require values which are to be computed by using conditions and logic in order to produce a desired output.
a. 4
b. 17
c. 0
- Describe what a function does in your own words
A function is a mathematical term where you have an input and the function returns some kind of output.
2
A) = 4
B) = 17
C)=0
F(x)=(x/4)-5
- A function is an equation to which you input a computation and it gives you an output.
- a) 4. b)17. c)0
- f(x) = (x/4)-5
a) 4
b) 17
c) 0
- f(x)= (x/4)-5
- Describe what a function does in your own words
Function takes input & perform mathematical operations & provide output.
- 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.
f(x)= (x/4)-5