Homework on Functions - Questions

  1. A function is a calculation in which an input is computed and given an output, defined as f(x)=.

ie. f(11)=2x+11
f(11)=33

  1. Calculate the output of the following function

f(x) =
:green_square:x^2 if x is even :green_square:
:purple_square:x+10 if x is odd :purple_square:

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 does a mathematical operation to any given input.

  2. a 4, b 17, c 0

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

3 Likes
  1. Describe what a function does in your own words
    The purpose of a function is a way to computate values by providing an input and letting a mathematical formula generate an output. The function repeats the same actions to each unique variable which is inserted.

  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)
    Output = 4
  • b) f(7)
    Output = 17
  • c) f(0)
    Output is 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. Describe what a function does in your own words

A function is a computational input that leads to variable outputs

  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.
    [/quote]

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

2 Likes
  1. It is a computation. Its takes an input(s) and performs an operation(s) to give an output.

a)4
b)17
c)0

  1. f(x) {
    return x/4 - 5
    }
2 Likes
  1. it’s a computation. you have an input and the function gives you an output
  2. a 4
    b 17
    c 0
    3 f(x)= x/4 - 5
1 Like
  1. A function has a mathematical input who’s rules determine the calculation of the output.

  2. a) even- 2 x 2 = 4

    b) odd- 7 + 10 = 17

    c) even- 0 x 2 = 0

  3. 1st attempt - f(x/4 - 5)

    2nd att. f(x) = (x/4 - 5)

2 Likes
  1. A function is a series of mathematical inputs used to determine an output

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

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

2 Likes
  1. A function is a computation of math algorithms that take the input to create and confirm the output.
  2. a.f[2]=4
    b.f[7]=17
    c.f[0]=0
  3. f[x]=[x/4]-5
    f[20]=[20/4]-5 input f[20]=0 output
3 Likes

it’s actually 0 x 0 = 0
x^2 means multiply x by itself.
(power relation) x to the power 2
for example 5^3 = 5 x 5 x 5
Normally power relations are written in a smaller size on the upper right.

1 Like

it’s actually 0 x 0 = 0
x^2 means multiply x by itself.
(power relation) x to the power 2
for example 5^3 = 5 x 5 x 5
Normally power relations are written in a smaller size on the upper right.

1 Like

Oh thank you sir, I really appreciate the correction

Being outta math class for 12 years has taken a toll :sweat_smile: I’ll have to Google a key for math symbols if I’m already getting them mixed up this early. Cheers pal

2 Likes
  1. A function creates an output depending of the input
  2. a) 4
    b) 17
    c) 0
  3. f(x) = (x:4) - 5
2 Likes
  1. A function describes what the input and output computation will equal.

a. 4
b. 17
c. 0

  1. f(x)=(x/4)-5
2 Likes
Describe what a function does in your own words

A function is a mini program that takes an input and processes it to create an output.

Calculate the output of the following function

f(x) = {

x^2 if x is even
x will always be even

x+10 if x is odd
x will always be 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
2 Likes

Thank you, didn’t know the symbol until now, saw an example and mistook it as multiplying.

1 Like

A function is a computation. This computation has an input, you give a value to the function, a number, you make the calculation and you get an output

   f(2) = even = 2² = 4
   f(7) = odd = 7 + 10 = 17
   f(0) = 0

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

2 Likes

I understand a function is a mathematical equation in which X is a variable but I cannot work out the homework can I get more teaching on this please

1 Like
  1. A function gives you the output based on the function formula (f)
  2. Calculate the output of following:

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

  1. f(x)=x/4-5
1 Like
  1. Function is a mathematical computation where you have an input, an operation with that input, and some output based on the operations performed.

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

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

2 Likes