Homework on Functions - Questions

  1. A function is a type of computation that takes a given input and produces an output.

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

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

A function is a block of code that takes in an input, performs a specific operation and returns an output.

a) 4
b) 17
c) null

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

0 is even number. f(0) = 0^2 = 0.

1 Like
  1. each input has a single output

a) 4
b) 17
c) 0

f(x) = x/4 - 5

1 Like
  1. Describe what a function does in your own words: A function is a mathematical computation which takes an input and calculates it’s output

  2. Calculate the output of the following function:
    f(x) = {
    x^2 if x is even
    x+10 if x is odd
    }

f(x) = ?
f(0) = 0
f(1) = 11
f(2) = 4
f(3) = 13
f(4) = 16
f(5) = 15
f(6) = 36
f(7) = 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 mathematical operation in which we make a calculation with variables to achieve a result. For example f(x) = axˆ2 + bx + c in which if a,b and c are defined for each value of x we get as result a f(x) value.

  • f(2) = 2ˆ2 = 4
  • f(7) = 7+10 = 17
  • f(0) = 0ˆ2 = 0
  1. f(x) = (x/4) - 5
1 Like
  1. A mathematical computation. Where and input is calculated and then give you 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 math equation that serves as a rule, which allows for the same unknown number to plugged in with the same the same output,
without fail

  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)

4,17,10

  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. Describe what a function does in your own words

A function is a math equation that serves as a rule, which allows for the same unknown number to plugged in with the same the same output,
without fail

  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)

4,17,10

  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 completes the same action every time, it has an input and produces an output, with x being the variable.

  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 is a computation that takes an input, does a computation, then gives an output.

  2. A)4, B)17, C)0

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

1 Like

0 is even number. f(0) = 0^2 = 0.

Describe what a function does in your own words
Calculate the output of the following function
f(x) = {

x^2 if x is even

x+10 if x is odd

}

For the above function should the regular number be even then you will raise that number to the power of 2.
I.E

  • f(8), the answer would be 64
  • f(7), the answer would be 17

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

1 Like
  1. Function creates an input and produces an output depending on the mathematical rules of the variable.

  2. a. 4
    b. 17
    c. 0

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

1 Like

A Function is a computation applied to an input in order to provide an output.

a) 4
b) 17
c) 0

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

1 Like

A function is a computation that works always the same when executed. It has an input and an output.

a) 4
b) 17
c) 0

function DoSomethingWith(x) = { x / 4 - 5 };

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

Answer: Function is a basic mathematical concept. Think of it as a computation where you input a certain value and receive a certain output.

  1. f(2) = 2^2 = 4
    f(7) = 7+10 = 17
    f(0) = 0^2 = 0

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

1 Like
    1. Describe what a function does in your own words.
      A function is a computation. You give a function an input and it calculates then gives you another the 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
  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 dictates the relationship between two variables of input and output.

  2. a. 4, b. 17, c. 0.

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

1 Like
  1. Functions are code that takes input(s) and produces an output.
  2. a = 0
    b = 17
    c = 2
  3. f(x) = { (x/4)-5; }
1 Like