1.- A function obtains an output (set of) databy operating with defined inputs (maths, logical, boolean operations etc).
2.-
a) 4
b) 17
c) 0
3.-
f(x)=x/4-5
1.- A function obtains an output (set of) databy operating with defined inputs (maths, logical, boolean operations etc).
2.-
a) 4
b) 17
c) 0
3.-
f(x)=x/4-5
2 A. 4, 12
B -. 49, 17
C. 0, 10
f(x) = (x/4.) - 5
A function is anything if you give an input it gives an out put result depending on the pre defined formula .
4
17
0
f(x)=(x/4)-5
Homework on Functions - Answers
1) Q: Describe what a function does in your own words
**A: A function takes in an input and returns an output
2) Q: Calculate the output of the following function
**A: a) f(2) = (2)^2 = 4
b) f(7) = (7) + 10 = 17
c) f(0) = does not exist (Zero is neither even nor odd)
3) Q: Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5
**A) f(x) = (x/4) - 5
A function is a mathematical equation.
a) f(4)
b) f(17)
c) f(0)
f(x) = (x/4)-5
Zero is well defined as an even number
Describe what a function does in your own words
Function is a mathematical description of some calculation process
a) f (2) = 4
b) f(7) = 17
c) f(0) = 0 (0 is not odd nor even)
f(x) = (x/4) - 5
0 is an even number.
You are right! Accordint to definiton, even number is a number which is divisible by 2 without any integers.
a) f(2)=4
b) f(7)=17
c) f(0)=0
f(x)=(x/4) - 5
I did some digging and you are correct. I grew up learning it was neither but it makes sense that it is even. Thanks for the catch.
its a computation. it have an “input” and “output”, the information put to “input” get executed and comes as and “output” when function in use.
a) f(2) = 4
b) f(7) = 17
c) f(0) = 0
f(x) = (x/4) - 5
Homework on Functions - Questions
Describe what a function does in your own words
Based on input the function will compute 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
A function is a mathematical computation that calculate a value based on an input or output.
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
I think C should be undefined. zero is neither Odd or Even
Zero is an even number. So the answer fo C is 0^2 = 0.