Homework on Functions - Questions

  1. Functions is a computation or a calculation

2.a) Output 4
2.b) Output 17
2.c) Output 0

  1. f(x)=(x/4)-5
1 Like
  1. Functions allow code to be called and perform a task.
  2. a --> 4
    b --> 17
    c --> 0
  3. f(x)=(x/4)-5
1 Like
  1. The output of a function is defined by the given input.
  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.
    • Functions map an input to output(s).
  2. Calculate the output of the following function.
    • f(x) = {x^2 if x is even, x+10 if x is odd}
      • f(2) = 4
      • f(7) = 17
      • f(0) = 0
  3. Write the definition of a function f that takes an input x, divides it by 4 then outputs that result subtracted by 5.
    • f(x) → (x/4) - 5
1 Like
  1. a functios is the computation of an defined input into an output.

2)a ) 4
b) 17
c) 0

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

1. Describe what a function does in your own words

A function is a mathematical equation that takes an input and computes an output.

2. Calculate the output of the following function
What will be the output for the following inputs?

  • a) f(2) = 4
  • b) f(7) = 17
  • c) f(0) = 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

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

…

  1. Describe what a function does in your own words
    It will give you a certain output based on the function and the input given.

  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) 4
  • b) 17
  • c) 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 is a set of rules where an input generates an output based on those rules.

a) 4
b) 17
c) 0

  1. f(x) = (x/4)-5
  1. A function is a mathematical equation, which allows you to change one or more variables.

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

  1. f(x)=(x/4)-5
1 Like
  1. The function will square the input if it is even or add 10 to it if it is odd.
  2. a) f(2) = 4
    b) f(7) = 17
    c) f(0) = 0
  3. f(x) = { x / 4 - 5 }
1 Like

Describe what a function does in your own words

A function is a computation that requires an input variable, a calculation resulting in 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?

a) f(2) = 4

b) f(7) = 17

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

1 Like
  1. Describe what a function does in your own words
    Calculates mathematical problem for the input.

  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 accepts an input and produces an output. In other words, takes different variables and completes the same action.

2.Calculate the output of the following function.

f(x) = {

x*2 if x is even
x+10 if x is odd

}

a. f(2) = 4
b. f(7) = 17
c. f(0) = 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

Homework on Functions

Describe what a function does in your own words
A function is something that takes an input, performs some operations on it and then gives an output.

Calculate the output of the following function
a) f(2) = 2^2 = 4
b) f(7) = 7+10 = 17
c) f(0) = 0^2 = 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) = { (x/4) - 5 }
1 Like
  1. A function is a computation that takes an input, computes the input with the function and show an output.

  2. What will be the output for the following inputs?

A = f(2) 4

B = f(7) 17

C = f(0) 0

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

1)A function provide the input instructions for an output solution
2) a)4 b)17 c)0
3)f(x) = [(x/4)-5]

1 Like
  1. Takes an input to produce an output or perform an action
    2a. 4
    2b. 17
    2c. 10
  2. f(x) = x/4 - 5
  1. A function does the same thing to whatever variable is input to it.

  2. 4, 17, 0

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

1 Like
  1. A function is a computation of a variable with certain parameters to produce a result.

  2. a) 4 b) 17 c) 0

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

1 Like