Homework on Functions - Questions

If you want, I can try to explain it on a discord voice server. It’s a bit difficult to explain with text only.
send me a private message if you want help

1 Like
  • A function is a mathematical equation that allows you to use inputs in order to grt outputs.
  1. Calculate the output of the following function. 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.Function is instruction that we give to a variable X
2.a) 4
b)17
c)0
3.f(x)=(x/4)-5

2 Likes

a function is a computation , you give a function a number ( input ) it calculates to give another number ( output )

A) 4
B) 17
C) 0

f(x)=(x/4)5

2 Likes
  1. A function computes a result or output when provided an input.

  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 function takes an input and executes a predetermined instruction to arrive at 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) = 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. For a certain input it gives you output.
  • 4
  • 17
  • 10
  1. f(x) = (x/4) - 5
2 Likes
  1. A function takes data like numbers, letters etc. and adds additional data to the input and outputs it changed in the output.

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

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

2 Likes
  1. Function determines the output by conditioning input

a) 4
b) 17
c) 0

  1. f(x)= (x/4) - 5
2 Likes
  1. A function is a mathematical equation with a variable (x) that determines the correct outcome.
  2. a. 4
    b. 17
    c. 0
  3. f(x)=x/4-5
2 Likes
  1. A function is the dependence of one variable on another

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

2 Likes
  1. A function gives an output based on the input and function parameters described.

2.a) 4 b)17 c)0

  1. f(x) = ( x/4 )-5
2 Likes
  1. A function allows you to get an output with a given input

  2. a. 4 b. 17 c, 0

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

2 Likes

Homework on Functions - Questions

  1. Describe what a function does in your own words
    A function has a syntax and can be used for calculating something. It gives you options to use variables to compute something ( via e.g. adding / multiplication). It will give you outputs for the 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) ----- 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 computes an input and gives an output.

  2. a) 4
    b) 17
    c) 0

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

2 Likes

A function is a formula that takes input and produces output. Given the same input it always produces the same output.

  1. a) 4
    b) 17
    c) 0

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

2 Likes
  1. Describe what a function does in your own words.
    Function changes input to a programable output.

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

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

2 Likes
  1. Describe what a function does in your own words
    A function is a mathematical computation where you provide the input and then receive an output.

  2. Calculate the output of the following function

f(x) = {

x^2 if x is even

x+10 if x is odd


3. 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
2 Likes
  1. A function is a computation that takes inputs and calculates an output.

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

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

1 Like
  1. Function is a basic computation that consist of input and output. The output depends on the mathematical formula in the function.

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

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