- A function is a calculation in which an input is computed and given an output, defined as f(x)=.
ie. f(11)=2x+11
f(11)=33
- 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