Homework on Functions - Questions

Hello, I am rewriting my answer because obviously there was an error.

Describe what a function does in your own words
Calculate the output of the following function

A function is used to calculate a result where the variable f (x) associates x with a number.

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) = f (x) = 2 ^ 2 = 4
b) f (7) = f (x) = 7 + 10 = 17
c) f (0) + f (x) = 0

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) = f (x / 4) - 5

1 Like
  1. Describe what a function does in your own words
    It calculates input and gives you an output to say it simply.

  2. Calculate the output of the following function
    a) f(x)=2^2= 4
    b) f(x)=7+10= 17
    c) f(x)=0^2= 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 is a mathematical computation involving Input and Output
  2. a. 9
    b. 18
    c. 10

Can you add the steps how you get those numbers from the given function?:thinking:

  1. A function takes a input and performs an computation and gives an output

  2. a) = 2
    b) = 17
    c) = 0

  1. f (x) = {(x/4)-5}
1 Like
  1. A function is any computational formula which takes an input and gives out desired output.

a) 4
b) 17
c) 0

  1. f(x)=(x/4)-5
1 Like
  1. A function receives a value (input) and after one or more computations returns the value (output).

  2. a.4
    b.17
    c.0

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

1 Like

A function is when a number is modified by a dependent variable ie input and output.

A) 4
B) 17
C) 0

  1. F(x)= x/4 - 5
1 Like

1, Function is a computation that will calculate the output when you put in your input value.
2. a=4, b=17, c=0
3. F(x) = x/4 - 5

1 Like

1.A function is a computation, that takes and input and gives a output
2.

  • a) f(2) 4
  • b) f(7) 17
  • c) f(0) 0
  1. f(x)=(x/4)-5
1 Like
  1. Describe what a function does in your own words

A function (computation) will give you an output after having provided an input.
f(x)=2x, if x=3, f(3)=2*3=6

  1. Calculate the output of the following function
f(x) = {
x^2 if x is even
x+10 if x is odd
}
• a) f(2)
• b) f(7)
• c) f(0)

f (2) = x^2 = 2^2 = 4
f (7) = x+10= 7+10 = 17
f (0) = x^2 = 0^2 = 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, performs a computation and outputs the result of that computation.

  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. Math equation that varies depending on the given variable
  2. 4, 0 ,17
  3. f(x) = (x/4)-5
1 Like
  1. A function is a computation with an input and an output. It is basically a mathematical equation.

  2. A. 4
    B. 17
    C. 0

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

1 Like

1:
A function is a computer program that takes an inpuit and then gives an output.

2:
a=4

b=17

c=0

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

1 Like
  1. A function allows you to make a specific action to a variable you provide it.
  2. a) 4
    b) 17
    c) 0
  3. f(x) = ((x/4) - 5)
1 Like
  1. A function is a computation that takes an input, computes and gets an output.
  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 is a computation with an Input and an Output. For example you assign a number to a variable that equals/references 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
  1. A function takes an input and maps it to an output through some relationship for example adding 1 to the input to get the output.

  2. a) 4 b) 17 c) 0

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

1 Like
  1. Performs a mathematical operation on a variable

2- A) = 4
B) = 17
C) = 0

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

1 Like