Homework on Functions - Questions

  1. A function is a computation which you give an input and it subsequently returns an output based on a calculation.

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

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

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

A function is a computation, where you provide an input and it gives you an output.

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
  1. A function is a computation. There is an input and and the output is the programmed computation
    a) 4
    b) 17
    c) 0

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

1 Like
  1. Describe what a function does in your own words
    It takes inputs (one or more variables), performs certain calculations and delivers an output (result)

  2. Calculate the output of the following function
    a) f(2) = 2^2 = 4
    b) f(7) = 7+10 = 17
    c) f(0) = 0^2 = 0

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

1 Like
  1. Functions are statements that describe how a certain input changes into an output.

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

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

1 Like
  1. A function takes an input (some number or x for example), does some defined action to it, and then gives you an output, a new number

2 a. 4
b. 17
c. 0

  1. f(x) = (x/4) - 5
1 Like
  1. A function applies the same rule for different input variables to get different outputs.
  2. a) 2^2=4
    b) 7+10=17
    c) 0^2=0
  3. f(x)=x/4 - 5
2 Likes
  1. A function is a computation that has an input and a output
    The following outputs:
    (a) f(2) 2x2=4
    (b) f(7) 7+10=17
    © f(0) = 0
1 Like
  1. A function is a set of mathematical commands or a command (inputs or input) written in a syntax to create an output.
  2. a)4 b)17 c)0
  3. f(x) = (x/4) -5
1 Like
  1. A function is a computation that takes an input, computes it and results in an output.
  2. 4, 17, 0
  3. f(x)=x/4-5
1 Like

My Answers:

  1. A function takes an input and creates an output using a constant variable, x in this case.

  2. a) 4
    b) 17
    c) 0

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

2 Likes

Describe what a function does in your own words
A function is a mathematical process that has an input and then generates an output

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. A function defines the output for a given input.

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

  1. f(x) = (x/4) - 5
1 Like
  1. A function applies a programmed mathematical formula to an input converting this value to 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 computation of a given input (x) to get 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

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 Function is a mathematical formula that given a different input produces output accordingly.
2. a ) 4, b) 17, c) 0
3.f(x)=x/4-5

1 Like
  1. A function sets a calculation for a specific input

a) 4
b) 17
c) 0

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

1 Like
  1. A function commands a variable and receives the same result
  2. a) 4
    b) 17
    c) 0
  3. f(x) = (x/4) - 5
1 Like
  1. Function gives a final output as a result of a calculated input.
    2.a) 4
    b) 17
    c) 0

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

2 Likes
  1. Describe what a function does in your own words
    A function takes an input and processes it and give you back an output. It conceals the logic from users. You don’t need to know the inner workings of a function to take advantage of it.

  2. 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) {
    return (x / 4) - 5
    }

1 Like