Homework on Functions - Questions

  1. Describe what a function does in your own words
    Answer: a function is a formula that can be customized and executed in a function-body as desired

  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 or mathematical calculation based on an input that creates 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

  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. A function takes a given value and executes a defined task.
  2. a) 4
    b) 17
    c) 0
  3. f(x) = (x/4)-5
1 Like

1.Functions are used to make computations based on the user’s input.
2.a) f(2)=x^2=2x2=4
b)f(7) = x+10=7+10=17
c)f(0)=x^2=0x0=0

  1. f(x)=(x/4)-5
    … Also thank you to all the guys in the community I didn’t understand the second question at first but You all helped a lot :slight_smile:
1 Like
  1. A function gives a real number to a calculation formula.
  2. a) 4 b) 17 c) 0
  3. f(x) = (x/4) -5
1 Like
  1. a function defines one variable in terms another. When given an input it gives an output. A function is a computation.

  2. a.4 b.17 c.0

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

2 Likes

1.function is computation of given paramets.
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

A function creates an output based on the input given.

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

2 Likes
  1. Describe what a function does in your own words
    A function creates an instruction for an input to become 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 (because 0 is technically an even number, I had to google that to learn it :slight_smile:
  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 like a formula

2. Calculate the output of the following function

F (2) is even 2x2=4
F (7) is ODD 7+10=17
F (0) is even 0x0=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

2 Likes
  1. A function is a computation of input and output of values to solve mathematical equations
  2. 4
    17
    0
  3. f(x) = (x/4)-5
2 Likes
  1. A function is a computation in which the variables change your input into a new output

  2. a) 4
    b) 17
    c) 0

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

2 Likes
  1. a function is a programmable action that does something to an input to change the output

  2. a= 4
    b=17
    c=0

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

1 Like
  1. it’s a computation that associates to an input a specific output
  2. a=4
    b=17
    c=0
  3. f(x)=(x/4)-5
1 Like
  1. A function is a computation that provides an output based on an input and certain parameters

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

  1. f(x) = (x/4)-5
1 Like
  1. Function is a computational math problem set by instructions.

  2. a.4 b.17 c.0

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

1 Like
  1. Functions are computations that take an input, perform a calculation, and then provide an output.

  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 an operation that associates each element x of set X to a single element y of another Set, although the Set of y could be the same as the Set of x.
2 our two functions are
f(y) = x^2 for even numbers
f(y) = x+10 for odd numbers
hence for
a) f(2) = 4
b) f(7) = 17
c) f(0) = 0
3) f(y) = x/4 - 5

1 Like

1)Functions determine outputs based on a given input.
2)…
a)2
B)17
C)0
3). f(x)=(x/4)-5

1 Like

1- Function values in the input create an output.
2- a) 4
b) 17
c) 0
3- f(x)=(x/4)-5

1 Like