Long time since I left school.
Showing my age, me thinks.
Long time since I left school.
Showing my age, me thinks.
Homework on Functions - Questions
Describe what a function does in your own words
A function is a computation where we have an input and an output. The input is a formula where we can give x different values and we get different outputs.
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
Function is making computations using information that we send to it and then it sends new information as an output.
a) 4
b) 17
c) 0
f(x) = x/4 - 5
A function is a set of rules or computations that can be written in mathematical formula with different variables.
4, 17, 0
f (x) = (x/4) - 5
Describe what a function does in your own words
Having an input that leads to an output defines a function.
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
f(x)=(x/4)-5
A function is an equation with an input and an output.
22=4; 10+7=17; 00=0
f(x)=(x/4)-5
A function takes an input variable, computes it and comes up with an output.
4,17,0
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?
Function is a calculation process a certain variable goes through.
f(2)=4
f(7)=17
f(0)=0
f(x)=(x/4)-5
It is an math equation where there is a variable inputs calculated to get an output.
Outputs are as follows 4 / 17 / 0
f(x) = ( x/4) - 5
Describe what a function does in your own words
it creates an output after performing some previously defined computation to the specified 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?
f(x) = x/4 - 5
1.Describe what a function does in your own words?
A function is a computation that uses an input such as a set of varables and performs an operation that gives an output.
2.Calculate the output of the following function
a.2^2 2
b.7+10 17
c.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
a) 4
b) 17
c) 0
3.f(x) = (x/4)-5
1)A function is a mathematical construct that manipulates an input through a formula to get an output.
2 a) 4
b) 17
c) 0
It defines what is to be done to a variable
4, 17, 0
f(x)= (x/4)5
A function is a mathematical equation represented by a symbol in computing programming language. An input is inserted into the function and then an output is calculated based on the original function parameters.
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
Describe what a function does in your own words:
A function is a mathematical equation
Calculate the output of the following function:
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