Homework on Functions - Questions

Is this a typo?

You should subtract by 5. :slight_smile:

1.a function takes a given input and converts it to an output based on the calculations it was set
2 a=4
b=17
c=0
3. f(x) = {(x/4) -5}

1 Like

1 - a function is a computation that relates an input to an output

2 -
a) 4
b)17
c) 0

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

2 Likes
  1. A function is a computation consisting of an input creating an output based on certain mathematical equations.
  2. a. 4
    b.17
    c.0
  3. f(x)= (x/4)-5
2 Likes
  1. A function is a computation that calculates an input to get an output.
  2. f(x+2) = 1+2=3
    f(x+7) = 1+7=8
    f(x+10) = 1+10=11
  3. f= (20/4) -5 =15
2 Likes
  1. A function is an equation that has a variable
  2. a) 4 b) 17 c) /
    3 f(x) = x/4 -5
2 Likes
  1. A function takes a given input and gives out an output based on the mathematic function given.

  2. a) f(2) = 4
    b) f(7) = 17
    c) f(0) = 0

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

2 Likes
  1. A function is a calculation where a certain number is imputed to reach a certain output.
  2. a. 4 , b 17, c 0
  3. f(x) = (x/4)-5
2 Likes
  1. A function is the computation of algorithm. It takes an input and calculates the outputs based on the information of that input.

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

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

2 Likes

1.)A function is a computation that involves taking an input, performing a computation and receiving an output.
2.)a.)4
b.)17
c.)0
3.)f(x)= (x/4) -5

2 Likes

haha! thanks for correcting me. typo error. :stuck_out_tongue_winking_eye:

1 Like

1. Describe what a function does in your own words:

A function is a mathematical computation that relates an input to an output or A function is a mathematical computation/rule that defines the relationship between an input and an output.

2. Calculate the output of the following function

  • a) f(2) =(2x2)=4
  • b) f(7) =(7+10)=17
  • c) f(0)=(0x2)=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. A function performs a computional on a give input to produce an output. Each input is handled the same way each time. The same input will always give the same output.

2a. 4
2b. 17
2c. 0
2d. f(x) = { (x / 4) - 5 }

1 Like

These are not correct, you must square the number if its even or add 10 if its odd. :slight_smile:

0 is an even number. :slight_smile:

  1. a function gives me diffrent results depending on witch variables i put in.

  2. A) 4
    B) 17
    C) 0

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

1 Like
  1. Describe what a function does in your own words.

A function produces an output based off of an input into a mathematical formula. If the formula is different, then the function will be different.

  1. 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
In MATH function is a relation from a set of inputs to a set of possible outputs where each input is related to exactly one output. This means that if the object x is in the set of inputs (called the domain) then a function f will map the object x to exactly one object f(x) in the set of possible outputs (called the codomain).

  1. 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) -> Now that is a pickle. It depends on how strictly we define the function and the role of 0. It is true that in most programing languages (at least those languages that I know) 0%2->0, so it could be considerate even. In such case f(0) -> 0;
From mathematical point of view however 0 is a bit of a special animal. I am tempted to say that the function above is not defined in the 0 point :wink: However if we agree that 0 is an even number, then 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 is an equation that allows one to choose any number to represent any letter and the results will depend on what the function does in the equation.

  1. Calculate the output of the following function

If x is even: f(2) 2x2 = 4
f(0) 0x2= 0

If x is odd: f(7) 7+ 10 =17

  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. A function is a computation that takes a variable as an input and performs the set of operations to generate an output. It is a set of instructions.

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

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

1 Like