- A function is when the same action happened with for example 1 random witch gives different answers depending on the random.
a= 4
b=17
C=0
- f{x} = (x/4)-5
a= 4
b=17
C=0
a computation that takes an input and creates an output
a= 4
b=17
c=0
f(x)={0.25)+(-5)
Ans.:
the defined mapping from input to output
a) 4 b) 17 c) 0
f(x) = x / 4 - 5
1. Describe what a function does in your own words
A function is a computation that when given a input does a set formula and gives you an output.
1.) A function works as a machine making consistent calculations involving an input number being inserted and an output number being equated based off the f(x)= { formula given for that function.
2.)
a) Output = 4
b) Output = 17
c) Output = 0
3.) f (x) = (x / 4) - 5
Describe what a function does in your own words: A function receives an input and produces the desired 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?
f(x) = (x/4)-5
2.a. f(2) = 4
2.b. f(7) = 17
2.c. f(0) = 0
Function means computations that includes the input and the output.
a) 4
b) 17
c) 0
f (x) = x/4 - 5
1.a function is a computation that takes an input and calculates an output.
2. a.4 b.17 c.0
3.f(x)=x/4-5
2a) 4
2b) 17
2c) 0
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 like a factory which can take an input and produce an output
The function is an computation that gets input, and generates the outpout.
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
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?
Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.
a function is a mathematical equation in which X is a variable. A Function is a computation with both an input and output.
A) = 4
B) = 17
C) = 0
f(x)= x/4-5
hi everyone,
(x/4)-5
}