Homework on Functions - Questions

  1. Describe what a function does in your own words
  • Computation of given an “Input” value as a parameter which is then calculated to provide an “output” is known as 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) = {
    division = x/4
    result = division - 5
}
1 Like
  1. A function takes an input, does computation on the input, and returns an output.

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

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

Zero is even number, So f(x) = f(0) = 0^2 = 0

1 Like
  1. A function is a computation that has a given input and output

a) 4
b) 17
c) 0

  1. f(x) = ( x / 4 ) - 5
1 Like
  1. A function takes an input and gives an output. (The function describes what to do with the input to get an output)

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

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

1 Like
  1. Function take a number of inputs, then perform operations on imputes, and gives results of operation as outputs
  2. a)4
    b)17
    c)0
    3. f(x)=x/4-5
1 Like
  1. A function is an equation that gives an input of a number that gives a relative output to complete the function.
  2. a)f(2) = 4 , 14
    b)f(7) = 49 , 17
    c)f(0) = 0 , 10
  3. f(x) = (x/4)-5
2 Likes

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

3 Likes
  1. A function defines one or several operations which are executed given an entry which it’s defined as variable.
  2. a) 4
    b) 17
    c) 0
  3. f(x) = (x/4)-5
2 Likes
  1. A function activates a computation. Which means it solves a mathematical equation.

  2. a) 4 b) 17 c) 0

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

2 Likes

1.) Functions are computations with inputs and outputs that define a uniqe relationship between independent and dependent variables. Using “X” and “Y”, if, when a numerical value is assigned to X (input), a unique value of Y is determined (output), Y would then be a function of the independent variable, X.

2.) f(x)=

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

3.) f (x/4) - 5 =
f (80/4) - 5 =
f (20 - 5) = 15

2 Likes

Thank you for the correction, Maki, I miss interpreted the question in the sense that it was asking for two outputs. I really Appreciate it; if you ever want to have a chat and bounce ideas off of one another with this course, send me a message sometime and we can work from there. :grin:

2 Likes
  1. A function is a mathematical computation were every variable (X = input) is calculated in the same manner with a different result (Y= output).

  2. a) 4
    b) 17
    c) 0

  3.  f = x/4-5
2 Likes

1.mathematical equation that calculates outputs based on inputs.
2.
a. 4
b. 17
c. 0
3. f(x) =(x/4)-5

2 Likes
  1. Describe what a function does in your own words?
    Functions are a computation of an input producing an output.

  2. Calculate the output of the following function …

a) 4
b) 17
c) 0

x^2 if x is even

x+10 if x is odd

}


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

It applies certain mathematical rules to our input so we get a result

  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) f(x)= 4

• b) f(7)
f(x)=17

• c) f(0)
f(x)=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 mathematical formula where you insert an input with a variable to get an output.
  2. A) x=4
    B) x=17
    C) x=0
  3. f(x)=(x/4)-5
1 Like

1. Describe what a function does in your own words
A function is a mathematical operation that takes an input and performs a calculation to result in an output.

2.
a = 4
b = 17
c = no output or an error (I don’t think 0 is considered an even number. So there are not matching conditions)

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

1 Like

Zero is an even number So f(0) = 0^2 = 0

1 Like
  1. Function gets one input and do the calculations function askes and give us the output as a result.

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

1 Like