Function gives output when given input variable
a) 4
b) 17
c) 0
Function gives output when given input variable
a) 4
b) 17
c) 0
Describe what a function does in your own words
A function is a mathematical calculation that changes the output depending on what input is entered
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 function is a computation using a variable value to calculate an output
4 ; 17; 0
3: f (x) = (x/4)-5
[quote=“ivan, post:1, topic:8429”]
Homework on Functions - Questions
f(x) = {
x^2 if x is even
x+10 if x is odd
}
[/quote
1/ A function is a computations write has F in syntax way , it does created a input based by a number given and result a output number. F (x) = X= + 1 = output.
2/ A 4
B 17
C 0
3/ f(x) = (x/4)-5
1 a function is math formula that you can design to calculate different problems
2 a ) 4
b) 17
c ) 0
3 f(x) = x/4 -5 ;
1- A function is a mathematical equation in whic X is the variable.
2- A- =4
B= 17
C= 0
3- F(x)= x/4-5
1
A function compute a given variable value the way defined by what’s on the other side of the equal symbol.
2
a) 4
b) 17
c) 0
3
f(x)=(x/4)-5
In mathematics, a function takes an input and provides an output based on a pre-defined formula.
(a) 4 (b) 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?
f(x) = x/4 - 5
2.a = 4
2.b = 17
2.c = 0
0^2 = 0 (and it’s definitely defined) only dividing by zero is problematic.
When x is even do x^2
When x is odd do x+10
Replace x with 2. This is even, so f(2)=2^2=4
Replace x with 7. This is odd, so f(7)=7+10=17
Replace x with 0. This is even, so f(0)=0^2=0
A function is an equation which performs actions of fixed parameters on an input thereby changing the parameters of the output.
a) 4 b) 17 c) 0
f (x/4) - 5
Sure - I misread the assignment - thanks for correcting me ;o)
Describe what a function does in your own words
f(x) = {
x^2 if x is even - then the Output will will be even results.
x+10 if x is odd - will be always odd.
}
Describe what a function does in your own words
A function takes an input and gives an output based on a set of parameters defined by the function
Calculate the output of the following function
4
17
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