Homework on Functions - Questions

a. 4
b. 17
c. 0

  1. f (x) = x/4-5
1 Like
  1. Describe what a function does in your own words
    A group of instructions which after providing and input will provide 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

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

A function is a mathematical computation defining a set of rules that calculates using an input to achieve an output.

  1. What will be the output for the following inputs?
  • a) f(2)
  • b) f(7)
  • c) f(0)

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

Rob here on Functions:

  1. In my own words, a function is a computation that takes direction or action. By defining the input, the output takes action.

2A.)

f(2) = 2^2
= 4

2B.)

f(7) = 7+10
= 17

2C.)  

f(0) = 0^0
= 0

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

Homework on Functions - Questions

  1. Describe what a function does in your own words

A function receives an input and returns an 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)

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 fixed mathematical formula that will calculate an output when given an input. the input being the only interchangeable variable in the equation that will likely determine a different output.

  2. a) 4
    b) 17
    c) 0

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

1 Like

4
17
0

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

1 Like

Homework on Functions - Questions

  1. Describe what a function does in your own words
    A function is a mathematical expression/equation that accepts an input to produce an output using a specific formula or set of formulas.
  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.Functions can be defined as computations which have inputs.If u give something to such function such as number ,it does calculations and gives you output.
2. (a) 4
(b)17
©0
3.f(x)= x/4 - 5

1 Like
  1. Describe what a function does in your own words
    Anything that allows u to provide an input which is acted upon in a consistent way 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
  • 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 transformation process, that produces an output from a given input.

  2. a) 4 b) 17 c) none

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

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

A function takes an input, performs some computation and returns an output.

  1. Calculate the output of the following function
  • 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 an equation where you have an input and it creates an output with different inputs you get different outputs
  2. a) 4
    b) 17
    c) 0
  3. f(x) = (x/4) - 5
1 Like
  1. An equation in which for different inputs it gives different output
  2. A)4
    B)17
    C)0
  3. F(x)=(x/4)-5
1 Like
  1. A function is a simple input-output program. Given an input, it performs some pre-determined calculations to provide an outupt.

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

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

1 Like

1. Describe what a function does in your own words
A function is a computation or formula which uses an input to deliver 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) x= 2 (2 is an even number, this means the formula x^2 applies.) 2^2 = 4
b) f(7) x= 7 (7 is an odd number, this means the formula x+10 applies.) 7 + 10 = 17
c) f(0) x= 0 (0 is an even number, this means the formula x^2 applies.) 0^2 = 0

3. Write the definition of a function 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 programmable action that requires an in put and output
a.) 4
b.) 17
c.) 0
f (x) = { X / 4 -5}

1 Like
  1. A function is an predetermined equation where the input can differ, producing different outcomes.

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

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

1 Like
  1. Describe what a function does in your own words
    A function does something with an input which produces an output. Both the input and output can be anything from a string to a number to a boolean (at least in programming that is).

  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 needs an input and uses that input to calculate an output by the rules you give the function

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

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

1 Like