Homework on Functions - Questions

Unfortunately this is incorrect. The square root of 0 is still 0 :slight_smile:

Also what happened to the final question? :wink:

  1. Describe what a function does in your own words

Function is a set of mathematical calculations aiming to a specific set of results already pre-defined i.e. input (variable) equals output (result). For example:
Set1 [f(x)=]; Set2 [(x+1)] meaning f(x)=x+1
f(1)=2; f(2)=3; f(3)=4โ€ฆ f(10)=11, so on and so forth.

  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

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

2 Likes

1 A function gives an output from an imputed number.

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

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

2 Likes

1.) A function is a process that makes something with an input and after that it give you an ouput. The function can for an example add or subtract or divide something.

2.) a.) 4
b.) 17
c.) 0

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

2 Likes

Assignment:

  1. Describe what a function does in your own words
  • A function calculates an output from input based on the predefined conditions
  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 set of conditions that are applied to an input which is variable and that result in an output

  2. a) 4
    b) 17
    c) 0

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

Took me some time to figure out what โ€œ^โ€ stands for - โ€œraised to the powerโ€. Initially I thought that it is โ€œxโ€ (multiplication)โ€ฆ@Alko89

2 Likes

passed the last without notice
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.

and thanks for the correction =)

1 Like
  1. A function is a computation, where by you assign an input (x) to receive an output.

a) f(2)
ouput = 4

b) f(7)
ouput = 17

c) f(0)
ouput = 0

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

1 Like
  1. A function is a mathematical formula that takes an input resulting in an output.

  2. a) 4
    b) 17
    c) 0

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

1 Like

A function takes one or more inputs and performs a specified mathematical operation to arrive at a result.

f(2) = 4

f(7) = 17

f(0) = 0

1 Like
  1. Describe what a function does in your own word?

A function is a preset formula that takes any number of inputs, runs the calculation and then gives the results (output).

  1. 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) = f/4 - 5

1 Like

1: a function takes an input and adds 1 to the output.

2: 4, 17, 0

3: f (X)= (x/4)-5

1 Like

1: Functions perform mathematical equations.

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 input variables that you give and compute an output variable.

  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
2 Likes

1- a function is a computational task that takes an input and delivers an output.
2- f(2)=2^2=4
f(7)=7+10=17
f(0)=0
3- f(x)=(x/4)-5

2 Likes

A function is a formula

a)4
b)17
c)0

1 Like

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

Function is math calculation applied to a certain number.

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

4, 17, 0. Perhaps not zero since I think zero is neither of or even. Maybe not functional might be the answer.

2 Likes

Yes, the ^ sign means an exponent. :slight_smile:

1 Like

0 is an even number. :slight_smile: