Homework on Functions - Questions

  1. Describe what a function does in your own words
    A mathematical task that gives different outputs with different inputs.

  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)=2^2=4
  • b) f(7)=7+10=17
  • c) f(0)=0^2=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

Yeah, so how would that compute? That reminds me how I was able to get the calculator to show an “E”.

1.I put some number (input) into the function it is computed/changed and I got result (output)

a) 4
b) 17
c) 0

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

1.Function is a computation that takes variable input, applies rules and gives output

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

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

1 Like

This is not the same as division by 0 :sweat_smile: Even numbers are by definition numbers that have a remainder when dividing by 2 equal to 0.
0 fits in that category because 0 / 2 = 0

2 / 0 will throw an error indeed. :slight_smile:

1 Like
  1. Describe what a function does in your own words
  • Function basically is a concept from mathematics that describes computations. You give something to your function for example input and then you get an output. If the input is equal to 1 then the output is 2 and so on.
  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

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

1 Like

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

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

1 Describe what a function does in your own words
Computations. Input and output. Give som numbers to the input of the calculation, and get new numbers based on the function’s calculation as 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)
f(2)= 2^2=4
b) f(7)
f(7)=7+10=17
c) f(0)
f(0)=0^2=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: A function has an input that equals an output which is solved by a mathematical equation.

  1. Calculate the output of the following function
    A) 4
    B) 17
    C) 0

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

1 Like

1-Function is a computation where there is an input and you get an output
2- 4
17
0
3- f(x)= (x/4) -5

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

Function is an equation of input where x is the variable , computation that achieves certain 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)
  • b) f(7)
  • c) f(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. Describe what a function does in your own words
    A function is a calculation that provides an output when given an input
  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. Describe what a function does in your own words
    A function gives you a certain calculation (output) on a given input.

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

Q1. Describe what a function does in your own worlds?
A. a function is a math problem

Q2. What will be the output for the following inputs?
A. f(2)=4
f(7)=17
f(0)=0

Q3. Write the definition of a function f that takes an input x, divided it by four and then outputs that results subtracted by 5.
A. f(10)=(10/4)-5
output= -2.5

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

Equation where x is variable. We put numbers to function to give us 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)10
  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

Describe what a function does in your own words
a function is a computation which takes input to create an desired output

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
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 computation which has an input and you get an output - Does a calculation

  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) = 2

  • 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

Function is a mathematical equation in which X is a variable
a 4, b 17, c 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

You forgot to calculate the values :wink: