Homework on Functions - Questions

Long time since I left school.

Showing my age, me thinks.

1 Like
  1. A function is a computation which has an input and gives an output.
  2. 4; 17; 0
  3. f(x) = x/4-5
1 Like
  1. A function defines “x” where f(x) is and input and x is output.
  2. a) 4
    b)17
    c)0
  3. f(x) ={
    x/4-5
    }
1 Like

Homework on Functions - Questions

Describe what a function does in your own words

A function is a computation where we have an input and an output. The input is a formula where we can give x different values and we get different outputs.

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. Function means computation
  2. a) 4
    b) 17
    c) 0
  3. x/4-5
1 Like
  1. Function is making computations using information that we send to it and then it sends new information as an output.

  2. a) 4
    b) 17
    c) 0

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

1 Like
  1. A function is a set of rules or computations that can be written in mathematical formula with different variables.

  2. 4, 17, 0

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

1 Like
  1. Describe what a function does in your own words
    Having an input that leads to an output defines a function.

  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

A function is an equation with an input and an output.
22=4; 10+7=17; 00=0
f(x)=(x/4)-5

1 Like

A function takes an input variable, computes it and comes up with an output.

4,17,0

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

1 Like

Homework on Functions - Questions

  1. Describe what a function does in your own words
    Function gets input values and is a set of action, that produce some output value.
  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)
    F(2) = 2X2 = 4
  • b) f(7)
    F(7) = 7 + 10 = 17
  • c) f(0)
    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

Function is a calculation process a certain variable goes through.
f(2)=4
f(7)=17
f(0)=0
f(x)=(x/4)-5

1 Like
  1. It is an math equation where there is a variable inputs calculated to get an output.

  2. Outputs are as follows 4 / 17 / 0

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

1 Like
  1. Describe what a function does in your own words
    it creates an output after performing some previously defined computation to the specified 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 is a computation that uses an input such as a set of varables and performs an operation that gives an output.

2.Calculate the output of the following function
a.2^2 2
b.7+10 17
c.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 computational task with input and output

a) 4
b) 17
c) 0
3.f(x) = (x/4)-5

1 Like

1)A function is a mathematical construct that manipulates an input through a formula to get an output.

2 a) 4
b) 17
c) 0

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

It defines what is to be done to a variable
4, 17, 0
f(x)= (x/4)5

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

A function is a mathematical equation represented by a symbol in computing programming language. An input is inserted into the function and then an output is calculated based on the original function parameters.

  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

:slight_smile:

1 Like

Describe what a function does in your own words:
A function is a mathematical equation

Calculate the output of the following function:
a) = 4, b) =17, c) =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