Thank you Matgas! If x is 2… and
2(4) - 5
8 - 5
5 - 2(4)
5 - 8
those answers would be different…
Thank you Matgas! If x is 2… and
2(4) - 5
8 - 5
5 - 2(4)
5 - 8
those answers would be different…
Sure, you get different answers if you put the (-5) before or after the division. What I meant was that the perfect answer probably is:
5 - x/4 = f(x)
x/4 - 5 =f(x)
and it does not matter which one you use as the description allows both interpretations. Sry for being not accurate enough in the first post
Thank you!! Phew! I was very close. I was just a little confused seeing so many with - 5 at the end! Thank you Matgas! Very helpful.
I disagree with all of you.
0 ^ 2 = 2.
What is your reference for the meaning of ^? (the caret)
https://www.rapidtables.com/math/symbols/Basic_Math_Symbols.html
Somebody stop me!
a. 4
b. 17
c. 0
f(x) = x / 4 - 5
A function accepts an input and spits out a result based on the math of the process.
f(2)= 4, f(7)= 17, f(0)= 0
f(x) = x/4 - 5
Function is a rule that defines output for a given input.
a) 4
b) 17
c) 0
f(x) = (x/4) - 5
entering the equation is this:
f (x) = {
x ^ 2 if x is even
x + 10 if x is odd
}
0 is not even or odd. It’s condition for function.
1.a function is giving the same mathematical formula for each entered unit
2.a=4
b=17
c=0
3. 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?
Describe what a function does in your own words:
A function takes an input, through a programmed function and produces 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?
f(x) = (x/4) -5
Rodolfo Pozo’s answer
A function is a computation based on defined mathematical formula.
a) 4
b)17
c)0
F(x)=(x/4)-5
Homework on Functions - Questions
a function converts inputs to outputs–a function is deterministic and total i.e for every element in its domain it always returns the same value
f(2)=4,f(7)=17,f(0)=0
f := λx.((x/4)-5)
A functions takes an input and processes it to produce an output.
a) 4
b) 17
c) no output
f(x) = x/4 - 5
A function takes a number of inputs, performs actions on those inputs and gives results as output.
a) 4
b) 17
c) 0
f(x)=x/4-5
Function is a math rule applied to variable.
f(2)=4;
f(7)=17;
f(0)=0.
f(x)=(x/4)-5