If you want, I can try to explain it on a discord voice server. It’s a bit difficult to explain with text only.
send me a private message if you want help
- A function is a mathematical equation that allows you to use inputs in order to grt outputs.
- Calculate the output of the following function. 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
1.Function is instruction that we give to a variable X
2.a) 4
b)17
c)0
3.f(x)=(x/4)-5
a function is a computation , you give a function a number ( input ) it calculates to give another number ( output )
A) 4
B) 17
C) 0
f(x)=(x/4)5
-
A function computes a result or output when provided an input.
-
a) 4
b) 17
c) 0 -
f(x)=(x/4)-5
- Describe what a function does in your own words
A function takes an input and executes a predetermined instruction to arrive at 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) = 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
- For a certain input it gives you output.
- 4
- 17
- 10
- f(x) = (x/4) - 5
-
A function takes data like numbers, letters etc. and adds additional data to the input and outputs it changed in the output.
-
a) f(2) = 4
b) f(7) =17
c) f(0) = 0 -
f(X)= x/4-5
-
Function determines the output by conditioning input
a) 4
b) 17
c) 0
- f(x)= (x/4) - 5
- A function is a mathematical equation with a variable (x) that determines the correct outcome.
- a. 4
b. 17
c. 0 - f(x)=x/4-5
- A function is the dependence of one variable on another
a. 4
b. 17
c. 0
3.f(x)= (x/4) - 5
- A function gives an output based on the input and function parameters described.
2.a) 4 b)17 c)0
- f(x) = ( x/4 )-5
-
A function allows you to get an output with a given input
-
a. 4 b. 17 c, 0
-
f(x) = (x/4)-5
Homework on Functions - Questions
-
Describe what a function does in your own words
A function has a syntax and can be used for calculating something. It gives you options to use variables to compute something ( via e.g. adding / multiplication). It will give you outputs for the inputs. -
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 computes an input and gives an output.
-
a) 4
b) 17
c) 0 -
f(x)=(x/4)-5
A function is a formula that takes input and produces output. Given the same input it always produces the same output.
-
a) 4
b) 17
c) 0 -
f(x) = (x/4) - 5
-
Describe what a function does in your own words.
Function changes input to a programable output. -
a) f(2)=4 b) f(7)=17 c) f(0)=0
-
f(x)= (x/4)-5
-
Describe what a function does in your own words
A function is a mathematical computation where you provide the input and then receive an output. -
Calculate the output of the following function
f(x) = {
x^2 if x is even
x+10 if x is odd
3. What will be the output for the following inputs?
* a) f(2) = 4
* b) f(7) =17
* c) f(0) = 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 function is a computation that takes inputs and calculates an output.
-
a) f(2) = 2^2 = 4
b) f(7) = 7+10 = 17
c) f(0) = 0^2 = 0 -
f(x) = (x/4) - 5
-
Function is a basic computation that consist of input and output. The output depends on the mathematical formula in the function.
a) F(2) = 2^2 = 4
b) F(7) = 7+10 = 17
c) F(0) = 0^2 = 0
- f(x) = (x/4)-5