You have a branching function where you pick the output based on whether the number is even of odd. If X is even you square it, if its odd you add 10.
- A function is an engine that needs an input to give you the output.
A) 4
B) 17
C) 0
- f(x)=(x/4)-5
A function is a computation, where each input is related to exactly one output.
a) f(2)={2^2}. 4
b) f(7)={7+10}. 17
c) f(0)={}. 0
f(x)=(x/4)-5
-
A function takes an input and through mathematics, provides an output
-
A) 4 B) 17 C) 0
-
f(x)=(x/4)-5
- A function is a computation in which a input is taken into a mathematical equation to gain an outcome
- A. 4
B. 17
C. 0 - f(x)= x/4-5
A function is a set of instructions which takes input from the user , calculates the data and provides output.
a) 4
b) 17
c) 0
f(x)= (x/4)-5
-
A function is a mathematical process that takes an input that goes through some defined calculation within the function and then returns the result.
-
4, 17, 0
-
f(x) = {
(x/4) - 5
}
You forgot to subtract by 5.
You right, thanks for the heads up
-
Describe what a function does in your own words
A function is a calculation that takes an input and changes it according to what is it told to change it by, then gives the result as 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 (zero is an even number)
- 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 mathmatical computation with inputs and outputs. The input has a variable, and depending on the number value of the variable, changes the output.
a) 4
b) 17
c) 0
- f(x) = (x/4)-5
- Describe what a function does in your own words.
Answer: A function is a mathematical equation that computates an input number that calculates the output of another number.
- Calculate the output of the following function
f(x) = {
x^2 if x is even
x+10 if x is odd
}
Answer: I don’t know. (Spoken in the voice of Jeff Spacoli)
- Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.
Answer: f(x) = (x/4)-5
- A function executes a computation.
- a) 4 b) 17 c) 0
- f (x) = (x/4) -5
What is the problem that prevents you from knowing?
- function is a computation that takes input and creates output.
a. 4
b.17
c.0
what happened to the number 3 answer?
I don’t know what this ^ symbol means. I attempted to google it and could not find a comprehensive explanation for it.
so 0 gets multiplied by 2, the answer is 0x2=0
multiplication of the number
Functions compute the inputted info and give you an output.
a) f(2)=4
b) f(7)=17
c) f(0)=0
f(x)=(x/4)-5