Homework on Functions - Questions

  1. Describe what a function does in your own words
    Calculates an output, when an input is given.
  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 a computation. It’s a mathematical equation. We put various numbers in the input and get an output.

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

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

1 Like

1- a function is an equation in which x can be defined by any number

2- a) f(2)= 4

b) f(7)= 17

c) f(0)= 0

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

1 Like
  1. A Function is a computation that is given an input, computes it, and turns it into an output.
  2. f [0] = 0
    f [2]= 4
    a.4
    b.17
    c.0
    3.f[x] = x/4-5
1 Like
  1. a function follows a certain protocol, which it applies on a variable.
    2.4, 17, 0
  2. f(X)= (x/4)-5
1 Like

A function is a computation, or a formula that converts an input to an output.
2 - a. 4
2.b. 17
2.c. 0

  1. f(x) = {
    (x/4) -5
    }
1 Like
  1. Describe what a function does in your own words
  • It is a set of rule that will determine a define results based on the given input
  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) = 2^2
  • b) f(7) = 7+10
  • c) f(0) = 0^2
  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. computes a input into an output

a) 4
b) 17
c) 0

  1. f(x) = x/4 - 5
1 Like
  1. A function is a rule that relates an input to an output. Typically a fucntion receives an input value, does some computation and returns an output value.

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

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

1 Like
  1. A function is a computation. A computation consists of an input and an output.

  2. 4, 17, 0

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

1 Like
  1. It calculates a number based on specific formula.

  2. F(3)=13
    F(2)=4

  3. 13
    4
    17
    2

f(7) = ? and f(0) = ?

Question number 3 is to write a function that takes an input x, divides it by four, and then outputs that result subtracted by 5.

  1. A function is a mathematical equation with an input, for example x, and an output, for example f or y.

  2. 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 computation that defines the relationship between two variables.

  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 .Function is basically a computation that gives you an output bases on the input you give

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

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

1 Like
  1. A function is the computation that takes place on an input which results in a output.
  2. a) f(2)=4
    b) f(7)=17
    c) f(0)=0
    3.f(x)=(x/4)-5
1 Like
  1. Describe what function does in your own words.
    A function is a computation which has input equation which then calculates an output on the applied mathematical entry.

  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 outputs 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 take-in input x, divides it by four and then outputs that result subtracted by 5.
    f(x) = x/4 - 5
1 Like

A function is a exuasion with x being the vareable
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

3. Write the definition of a function f that takes an input x, divides it by four and then outputs that

f(x)=(x/4)-5
1 Like
  1. Describe what a function does in your own words
    A function is a computation that uses variables which inputs can be changed to calculate different outputs depending on those inputs.
  2. Calculate the output of the following function
  • 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