Homework on Functions - Questions

  1. a function makes a predefined operation with my input.

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

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

2 Likes

Homework on Functions - Questions

  1. Describe what a function does in your own words
    A function is an equation with an input and 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
3 Likes

Homework on Functions - Questions

  1. Describe what a function does in your own words
    A function takes an input parameter, does some calculation using this parameter and returns an output value.

  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 computation with a variable, if you put something in for this variable the function will give you an output

  2. 4,17,0

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

2 Likes
  1. A function takes a certain input and based on some certain rules internally, produces an output.

  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
    Provides a repeatable computation that is performed on an input 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. A function is meant to give an output to an input, by doing some form of calculation.

a) 4
b) 17
c) 0

f(x) = x/4 - 5

2 Likes
  1. a function acts as a command to achieve an output.
  2. a) 4
    b)17
    c) 0
  3. f(x)= x/4-5
2 Likes

1, I would call a function like a computational machine that take input and process it then gives an output. processing part depends on who you build your machine or how you define your function.

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

2 Likes
  1. A function is a mathematical computation that, starting from an input, gives an output.
  2. a) 4
    b)17
    c)0
  3. f(x)= (x/4)-5
2 Likes

A function is a calculation that can be applied to a unique variable to produce a unique output.

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

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

2 Likes
  1. A function takes an input and performs a computation on it to produce an output. The function is defined by the computation.

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

  1. f(x)=x/4-5
2 Likes

In the function you set up, apply a rule, explaining what it should do with the input number, so the output number you get the value what you applied in the rule.

a) 4
b) 17
c) 2 (if its X+2)
0 (if its X×2) /not clear x^2 this sign/

f(x)= x/4-5

2 Likes
  1. Describe what a function does in your own words
    A function is a computation that takes an input and applies a procedure to hte input that results in 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
2 Likes

This sign ^ means a power relation. For example 2^3= 2 x 2 x 2 (2 to the power of 3) in written language we would put 3 in a smaller size in the upperright corner of 2.

So x^2 basically means multiply by itself.
X times X or (2^2= 2 times 2 = 4)
Or 5^2 = 5 x 5 = 25

9 Likes

Homework on Functions - Questions

  1. Describe what a function does in your own words

a relation from a set of inputs to a set of possible outputs where each input is related to exactly one 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

2 Likes

Hey Fabrice

Good to see you around :slight_smile:

I have a few questions regards to this site, anyway I can contact you privately?

Have an awesome day & stay safe.

Sure,
@ziomanzo on almost every social media. I prefer discord or telegram.

Have a nice day as well :+1:

2 Likes

I believe I need an # on discord :slight_smile:

1 Like
  1. A function is a calculation. Input - calculation - output.

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

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

2 Likes