- a function is a set coded instruction.
a) 4
b) 17
c) 0
f(x) /4-5
f(x) /4-5
Describe what a function does in your own words
A function gets an input, calculates sth. predefined and delivers the output in the end
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 applies a mathematical action to an input
a. 4, b. 17, c. 0
f(x) = (x/4)-5
A function creates a new output based on an input
a) 4 b) 17 c) 0
f(x)=(x/4)-5
I like to think of functions as machines. You put something in, something magical happens, and then you take something new out. Just like a printer’s function is to print things, a mathematical function basically performs some computation and gives the result.
Homework on Functions - Questions
Describe what a function does in your own words
A function is a computation.When you give a function an input you will get an 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)=2^2=4
* b) f(7)=7+10=17
* c) f(0)=0^2=0
3. 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
example
f(12)=(12/4)-5=-2
A function adds value from input to the output.
a) f(2) = 2^2
answer is 4
b) f(7) = 7+10
answer is 17
c) f(0) = 0^2
answer is 0
f(x) = (x/4)-5
function describes what to do with the input to receive the output
2a 4
2b 17
2c 0
3 f(x) = (x/4)-5
Homework on Functions - Questions
f(x) = {
x^2 if x is even
x+10 if x is odd
}
What will be the output for the following inputs?
f(x) = x/4 -5
A function is an equation in which x is a variable. Based on the parameters the function gives an output.
f(2)= 4
f(7)= 17
f(0)= 0
f(x)=(x/4)-5
1/ A function is a computation that takes an input and gives out an output
2/ a) 4 b) 17 c) 0
3/ f(x)=(x/4) - 5
Replace x by 2 = 2^2 = 4
The parity of zero is even,
So 0^2=0
2 is even, so replace x by 2 = 2^2= 4
7 is odd, so 7+10=17
0 is even, so 0^2=0
The parity of zero is even, so 0^2=0
2 is even, so you must replace x with 2 for (x^2)
2^2=4
The parity of zero is even
The meaning of ^ is a power relation.
0^2 = 0x0=0
https://forum.toshitimes.com/t/homework-on-functions-questions/8429/438?u=fabrice
a) 4
b)17
c) 0
3. f(x)= (x/4) - 5