Homework on Functions - Questions

Homework on Functions - Questions

  1. Describe what a function does in your own words
    A function is an equation for which any x x that can be plugged into the equation will yield exactly one y y out of the equation.

  2. Calculate the output of the following function

a) Output is 4
b) Output is 17
c) Output is 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.
It is mathematical equation where you give input and get 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)=2^2=4
b) f(7)=7+10=17
c) f(0)=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 is a computation with an input that computes and 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), b) f(7), c) f(0)

A.  F(2)^2 = 4.
B.  F(7) + 10 = 17
C.  F(0)*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
  1. a function adds the number to use for calculating
  2. f(x) = 2x2=4
    b 7+10= 17
    c 0x2=0
    3 F(x)=(x:4)-5
1 Like

thx bro for the nice graphic! it helped a lot! :slightly_smiling_face:

1 Like
  1. A function is a mathematical equation that provides an output (y) to a certain input (x).
  2. a) 2 is even: f(2) = 2^2 = 4
    b) 7 is odd: f(7) = 7 + 10 = 17
    c) 0 is even: f(0) = 0^2 = 0
  3. f(x) = (x / 4) - 5
1 Like
  1. Functions are computations that have an input and output.

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

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

1 Like
  1. a function takes a specified input and gives an output dependent upon how the function is written.
    4
    17
    0
    F= (x/4)-5
1 Like
  1. Describe what a function does in your own words
    A function is a computation where a certain input generates 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)= 2^2=4
    b) f(7)= 7+10=17
    c) f(0)= 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 operation which takes an input and computes an output.

  2. A. 4; B. 17; C. 0

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

1 Like

Q: Describe what a function does in your own words

A: It is a computation. When you give an input you get an output based on the function structure.

Q: 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)

A: 2 is even, so:

f(2^2) = 4

b) f(7)

A: 7 is odd, so:

f(7+10) = 17

c) f(0)

A: 0 is even, so:

f(0^2) = 0

Q: Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.

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

1 Like
  1. a function is a mathematical equation that takes a variable input and calculates an output based on the formula.

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

  1. f(x) = (x/4) -5
1 Like
  1. A function is a computation consisting of an input and an output where the computation is the difference between the input and the output.

  2. a) 4
    b) 17
    c) 0

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

1 Like
  1. function: a predefined instruction, where we can add a variable
  2. a=4 b717 c=0
  3. f(x)= (x/4) - 5
1 Like
  1. A function gives an output based on the variable input of the parameters described.

  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 describes what mathematical calculation should happen to the input to provide the desired 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) 10
  • 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 is basically a set of instructions (computation made up of an input and an output).

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

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

1 Like

A function does the same actions to each unique variable entered

a) 4
b) 17
c) 0

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

1 Like

Describe what a function does in your own words
A function is a written calculation with one variable, or multiple, that allows for the input of information into the variable to produce a calculated output.

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

A function is a computation that takes an input as you comand solves a mathematical equation and gives back output.

  1. a) 4
    b) 17
    c) 0
  2. f(x) = x/4-5
1 Like