Homework on Functions - Questions

  1. a function take an input to create an output
  2. a) f(2)=4, b) f(7)=17, c)f(0)=0
  3. f(x)= x/4-5
2 Likes
  1. A function changes an input to a different output.

  2. a: 4
    b: 17
    c: 10

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

2 Likes

1. Describe what a function does in your own words
A function takes input, runs pre-determined logic, and usually returns 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) will return 4
  • b) f(7) will return 17
  • c) f(0) will return 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 always had an input and an output and conisists with variables.

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

1 Like

A function takes an input, throws it through a set of rules, and returns an output.

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

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

1 Like
  1. Describe what a function does in your own words.
    Functions are computations that have an INPUT; the function performs a calculation based upon that input, then results in receiving another number as 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): 2Squared=4
    b) f(7): 7+10=17
    c) f(0): 0Squared=0 (assumes 0 is an even integer)

  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
    …so
    f(20)=(20/4)-5=5-5=0
    f(28)=(28/4)-5=7-5=2

2 Likes
  1. A function takes an input and gives and output based on that input.

a) f(2) = 4
f(2) = {
2^2
}
b) f(7) = 17
f(7) {
7+10
}
c) f(0) = 0
f(0) {
2^0
}

  1. f(x) = (x/4)-5
1 Like
  1. The word that’s been used to describe a function was computation, in other words to calculate. Even more simplified. To let the computer do the work based on mathematical rules. We just have to determine which function, F, H or whatever, the input, (x) and check the output, = … ,if required.

  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 computation - it is a way to program an input and generate a specific output

a = 4
b = 17
c = 0

  1. f(x) = (x/4)-5
2 Likes
  1. A function gives instructions for how an operation should be completed when given specific input for desired operational results.

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

  1. f(8)= (8/4) - 5
    f(8)= -3
1 Like
  1. Describe what a function does in your own words
  • A function is a mathematical processing of an algorithm based on an input value.
  1. Calculate the output of the following function
  • a) f(2)=4
  • b) f(7)=17
  • c) f(0)=0
  1. f(x)=(x/4)-5
1 Like
  1. Describe what a function does in your own words
    A function is a set of instructions which you can activate by giving it some variables. It will give you results back which you can process further.
  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

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
4. f(x) = {x/4}
f-5 = {}
f(x)=(x/4)-5
1 Like
  1. A function is a mathematical / programmatic construct that accepts input(s), performs an operation on the input(s), and emits an output.
  2. a) 4; b) 17; c) 0
  3. f(x) = x/4 - 5
1 Like
  1. A function derives an output based a defined computation and a given input
    2(a) f(2) = 4
    2(b) f(7) = 17
    2© f(0) = 0
  2. f(x) = (x/4)-5
1 Like
  1. Describe what a function does in your own words.

A function performs a mathematical procedure based on a variable inserted into an equation.

  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) A = 4
  • b) f(7) B = 17
  • c) f(0) 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 does a computation from a given input an bring it to an output

  2. a) 4
    b) 17
    c) 0

  3. f(x) = x : 4 - 5
    f(40)
    f(5)

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

A function takes a input, and gives you an output

  1. Calculate the output of the following function

A. 4
B. 17
C. 0

  1. f(x)=(x/4)-5
1 Like
  1. A function calculates the output of an input.

2.a. 2x2=4
2.b. 7+10 =17
2.c. 0x2=0

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

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

Functions is the law of changing smth.

  • 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. Describe what a function does in your own words
    A function is a basic input > 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