Homework on Functions - Questions

  1. A function simply computes a mathematical output.
  2. a) 4 b) 17 c) 0
  3. f(x) = (x/4)-5
1 Like
  1. A function takes a number or expression as an input, does a computation on it, and then provides an output which is equal to the result of the computation.
  • a) f(2) = 4
  • b) f(7) = 17
  • c) f(0) = undefined

f(x)=x/4-2

The parity of zero is even, and 0^2 =0 (perfectly defined)

1 Like
  1. an instruction for the input how to output
  2. a) even 4 , b) odd 17 , c) even 0
  3. f(x) = (x/4)-5
  1. Functions is based on computations. It takes an Input and gives output.
    2.a) 4
    b) 17
    c) 0
  2. f(x)= (x/4) -5
1 Like

Thanks, Fabrice! I appreciate it. :slight_smile:

1 Like
  1. A function is giving a value to an input

  2. a. 4
    b. 17
    c. 0

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

1 Like

1.A function takes an input put it through a calulation and then produces an output.

  1. 4
    17
    0

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

1 Like
  1. Takes the input, performs computation, output given.
  2. a) f(2)=4 b) f(7)=17 c) f(0)=0
  3. f(x)=(x/4)-5
1 Like
  1. A function is a mathematical computation that generates an output based on a pre-defined calculation on an input.

f(x) = {
x^2 if x is even
x+10 if x is odd
2a. f(2) = 4
2b. f(7) = 17
2c. f(0) = 0

  1. f(x) = x/4 -5
1 Like
  1. Describe what a function does in your own words
    A function allows the user to input data, which then computes an about output based on the function parameters.

  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
  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 does the same actions to each unique variable entered.
  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.
    Function is a computational BLOCK that takes in some kind of input and produces an output based on the calculations that are programmed into the 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
  1. A function is a hard-coded set of calculations or formulas using input variables to return the computed value or values as output.
  • a) f(2) = 4
  • b) f(7) = 17
  • c) f(0) = 0

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

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

A function is the receiver of the input. A function is a computation. It does the calculation.
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 is even so it means f(2)=2^2 (looking at the answers ^ is the sign for multiplication) so the answer is 4
  • b) f(7) = 7 is odd so it means f(7)=7+10= 17
  • c) f(0) = neither odd nor even?
  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.
    [/quote]
    f(x)/4=x(-5)=

I’m really bad with math, hope I can grasp a bit of this

  • Describe what a function does in your own words
    A function takes an input and returns a calculated output using that input.

  • 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

  • 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 input, computes and gets an output.

a) 4
b )17
c) 0

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

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

Function is an expression involving one or more variables.

  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) = 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

2 Likes
  1. a function provides a computation the instruction as to what to do with an input

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

1 Like

1.) A Function is a computation where an output value is generated by an input

2.)
A.) f(2)=4
B.) f(7)=17
C.) f(0)=0

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

1 Like