Homework on Functions - Questions

  1. A function gives an output based on the input.

a) =4
b) = 17
c) = 0

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

1 Like
  1. Describe what a function does in your own words:
    It is a computation tat takes an input, computes (relation) and gets and output.
    It does the same actions to each unique variable entered.

  • 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} f-5={}
    f(x)= (x/4)-5
1 Like
  1. A function relates an input to an output.

a) 4
b) 17
c) 0

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

A function delivers an output based on an input. A given input will always result in the same output.

The function says: if the number is even, the output is x^2, but if the number is odd, the output is x+10

Results:
f(2): 4
f(7): 17
f(0): n/a

0 is even number=> f(0) = 0πŸ˜‰

  1. A function is a computation which receives and processes data (input) and produces a result (output).
  2. a) 4
    b) 17
    c) 0
  3. f(x) =x/4-5
1 Like

1 A function is a computation/calculation applicable as a formula. The execution of the computation enable to apply these formulas and to optain outputs out of the inputs.
2.
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 (even)
  • b) f(7)=17 (odd)
    C) f(o)= 0

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

2 Likes
  1. Describe what a function does in your own words

Function is a computation defined with an input to get a desired output.

  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)
  • b) f(7)
  • c) f(0)

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
2 Likes

A function is a series of input and output defined by a certain parameter provided.

a) 2 is even thus f(x)= 4
b) 7 is odd thus f(x) = 17
c) 0 is even thus f(x) =0

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

1 Like
  1. A function is a computation in which you give a number for the input , a set calculation is made from the function and then a another number will come out as an output.

a) 4
b) 17
c) 0

  1. f(x) = (x/4)-5
1 Like
  1. It adds ten to the number if it’s odd and square if the number is even
  2. a)4, b)17 c) 0
  3. f(x)= x/4 -5
1 Like
  1. A function turns an input into an output derived of the specific β€œrules” given by said function. So, if my function is F(x) = X - 2, then any value i input will be said value minus 2.

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

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

1 Like
  1. A function takes an input and follows a set of instructions to product an output
    2A 4
    2B 17
    2C 0

3 F(X) = (X/4)-5

1 Like
  1. Creates an output for every input.

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

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

1 Like
  1. Functions map inputs on to outputs according to a set of rules.

  2. a) 4 b) 17 c) 10

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

1 Like
  1. A function is a set of computations that brings a resultant output depending on what the input(variable) was.

  2. the output of the
    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 receives a number or amount as an input, does a particular math action to it (it does a calculation which uses the input), and then gives / sends out a related output, which is the result of the math action (the solution to the math problem).

  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) = {x^2 if x is even, x+10 if x is odd} = 4

b) f(7) = {x^2 if x is even, x+10 if x is odd} = 17

c) f(0) = {x^2 if x is even, x+10 if x is odd} = 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 one or more inputs, applies mathematical computations using those inputs to produce 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 (2^2)
  • b) f(7) = 17 (7+10)
  • c) f(0)
    This one is arguably debatable. I consider an odd/even number by using modulo.
    So:
    if (x % 2 > 0) even = false.
    else even = true.
    In this case, 0 is even as 0 mod (%) 2 == 0.
    So in that regard 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 a pre-set of instructions that compute an input by a set parameter/calculation to get a certain output.

f(x) = {

x^2 if x is even

x+10 if x is odd

}

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

Homework on functions

  1. Describe what a function does in your own words

Used to compute a certain value for the input. You give input and calculate output with a function

  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

1 Like