Homework on Functions - Questions

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 :slight_smile:

1 Like

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.

1 Like

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

1 Like
  1. A function accepts an input and spits out a result based on the math of the process.

  2. f(2)= 4, f(7)= 17, f(0)= 0

  3. f(x) = x/4 - 5

1 Like
  1. Function is a rule that defines output for a given input.

  2. a) 4
    b) 17
    c) 0

  3. f(x) = (x/4) - 5

2 Likes

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

1 Like

Homework on Functions - Questions

  1. Describe what a function does in your own words
    It is the calculation that creates the output
  2. 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
  1. 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 Like
  1. Describe what a function does in your own words:
    A function takes an input, through a programmed function and produces an output.

  2. 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
  1. 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 Like

Rodolfo Pozo’s answer

  1. A function is like a machine that transform an input into an output according to specific rules.
  2. a. 4 | b. 17 | c. 0
  3. f(x) = x/4 - 5
1 Like
  1. Equation, for example y=f(x), y is result and x is variable. the y has a corresponding specific value against variable x
  2. a) 4 b) 17 c) 0
  3. y=x/4 - 5
1 Like

A function is a computation based on defined mathematical formula.
a) 4
b)17
c)0
F(x)=(x/4)-5

2 Likes

Homework on Functions - Questions

  1. Describe what a function does in your own words - Functions are just making computations. :1234:
  2. Calculate the output of the following function
    a) 4 b) 17 c) 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
1 Like
  1. functions are mainly the black box so that they can be re-used by changing the inputs, and getting desired outputs.
    2a) 4
    2b) 17
    2c) 0
  2. f(x)=x/4-5
1 Like
  1. 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

  2. f(2)=4,f(7)=17,f(0)=0

  3. f := λx.((x/4)-5)

  1. A functions takes an input and processes it to produce an output.

  2. a) 4
    b) 17
    c) no output

  3. f(x) = x/4 - 5

  1. A function takes a number of inputs, performs actions on those inputs and gives results as output.

  2. a) 4
    b) 17
    c) 0

  3. f(x)=x/4-5

  1. Function is a math rule applied to variable.

  2. f(2)=4;
    f(7)=17;
    f(0)=0.

  3. f(x)=(x/4)-5