- A function is a mathematical expression that relates inputs to outputs.
- a = 4, b= 17, c = 0
- f(x) = x/4 - 5
- A function performs operations on an input and returns an output
- a. 4
b. 17
c. 0 - f(x) = (x/4)-5
-
A function is a computation that consists of an input and an output.
-
a) f(2) = 2^2 = 4
b) f(7) = 7+10 = 17
c) f(0) = 0^0 = 0
-
f(x) = x/4 - 5
Computations that have an input that calculates an output.
f(2)=4
f(7)=7+10= 17
f(0)=0
f(x)= (x/4) -5
Oh not sure what happened there. Deffs thought I put 17 but appreciate the correction. Thanks @Fabrice
B) f(7)=odd, so 7+10=17
You are lucky that 2x2=2^2
Check out this post for the meaning of ^
https://forum.toshitimes.com/t/homework-on-functions-questions/8429/438?u=fabrice
Thanks I thought it might be 17, I’ll work on functions more until I get this.
- A function is a computation of an input data that gives a result as an output data
- a.4
b. 17
c. 0 - f(x)= (x/4)-5
- A function is a computation, that take a input, calculate it and get a output
2a 4
2b 17
2c 0
- f(x)=(x/4)-5
Homework on Functions - Questions
- Describe what a function does in your own words
- 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)
- Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.
Answers:
- A function is a mathematic formula that takes an input does some computations and gives back an output.
- a) f(2) = 4, b) f(7) = 17, c) f(0) = 0
- f(x) = (x/4) - 5
A: computation of an input = output
4
17
0
f(x)=(x/4)-5
-
It’s when you give a function an input and then with some calculation, it gives you an output.
-
a) f(2)=4
b) f(7)=17
c) f(0)=0 -
f(x)=(x/4)-5
-
A function is an algebraic expression in which one variable is dependent upon a mathematical statement which yields an output for any acceptable number value input into the statement.
a) f(2)=2^2=4
b) f(7)=7+10=17
c) f(0)=0^2=0
- f(x) = { 5 - (x/4) } I will further note you said (x/4) “subtracted by” 5 not “subtracting” 5
So if you meant for me to answer (x/4)-5 you should have worded it as such, otherwise my answer is correct based on the language used.
1. Describe what a function does in your own words
A function
- takes an input
- does a desired set of computations
- returns an output
2. Calculate the output of the following function
f(x) = {
x^2 if x is even
x+10 if x is odd
}
If x is even the output will be x2
If x is odd the output will be x+10
What will be the output for the following inputs?
a) f(2)
Output -> (2^2) -> 4
b) f(7)
Output -> (7+10) -> 17
c) f(0)
Output -> (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(16)
-> (16/4)= 4
-> 4 - 5 = -1
f(16) = -1
what is a function ?
1 ) function is a special relationship in which an input has a single output.
A) = 4
B) = 17
C) = 0
3 f(x)= x/4-5
- a function is a computation where an input (x) produces the output
2.a) f(2)= 2X2 = 4
b) f(7) = 7+10 = 17
c) f(0)= 0
- f(x) = (x/4)-5
- Functions process variables according to the programmed specification. Input, output
- a. 4, b. 17, c. 10
- f(x) = {x/4 - 5 }
-
Describe what a function does in your own words
A function takes an input an delivers an output. It performs math calculation. -
a) 4 b)17 c) 0
-
f(x) {
x/4 - 5
}
-
A function is a calculation
a)4
b)17
c)0
- f(x)=(x/4)-5