Homework on Functions - Questions

  • A function is computation that has an input and an output
  • calculate the following

f(x) = {

x^2 if x is even

x+10 if x is odd

}

F(2) = 4 F(7) = 17 F(0) = 0

f(x) = {

(x/4)-5

}

1 Like

Got you thanks Fabrice!

1 Like

1/ Describe what a function does in your own words
Functions is the way to give an input to get an output as a result. We express (x) as a variable

2/ a)4 , b)17 and c) 0

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

1 Like

If ^= multiply
-4
10+7=17
0^0=0

  1. A function is a calculation of an input resulting in an output.

  2. a) 4
    b) 17
    c) 0

  3. f(x) = (x4)-5

a. output = -4
b. output = -0.75
c. output = -5

  1. A function is basically a computation that takes an input, computes and gets an output.

a) 4
b) 17
c) 0

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

A:

  1. A function is a mathematical computation that takes an input and produces an output.

  2. a) 4 b) 17 c) 0

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

  1. a function is a piece of code, which is written with the goal of performing a computation/calculation based on variable inputs.

a) 4
b) 17
c) 0

  1. f(x) = {
    (x/4)-5
    ]
  1. Describe what a function does in your own words
    A function does the same calculation to each action entered.

  2. Calculate the output of the following function
    a. 4
    b. 17
    c. 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

Hi,
1, In this case we can image function as a set of rules or “guide” how we will work with inputs. These inputs can be different but they will be “treated” same way per our “guideline”.
2,
a: 4
b:17
c: 0
3, f (x) = (x/4) -5

  1. A function does something with an input value- according to its own design- which gives an output.

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

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

x is variable depent what number used

Describe what a function does in your own words

  1. A function takes an input and caries out a mathematically written set of actions to be performed on it to create an outcome.

Calculate the output of the following function:
2. 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.
3, f(x) = {(x/4) -5}

  1. Describe what a function does in your own words
    A function is a calculation (set of instructions) to be applied to a given input.

  2. Calculate the output of the following function

  • a) 4

  • b) 17

  • c) 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. A function is a basic mathematical computation with an input and an output.
    2.a. 4
    b. 17
    c. 0

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

  1. Describe what a function does in your own word.
    A function adds 1 to the input to determine the output.

2.Calculate the output of the following function

f(x) = {x+1

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)

a) f(2)= 2X2 = 4

b) f(7) = 7+10 = 17

c) f(0)= 0

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

1.) a function expresses the relationship (calculation) between a defined value and at least one variable

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

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

Took me a minute to work out that diagram but now that I have it show’s it perfectly. I have seen a couple of your other answers in the same format. Great work mate.

1 Like

Q1. A function is an equation where X is the variable.
Q2a. 4
Q2b. 17
Q2c. 0
Q3. f(x)=(x/4)-5