Homework on Functions - Questions

  1. A function is when the same action happened with for example 1 random witch gives different answers depending on the random.

a= 4
b=17
C=0

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

a computation that takes an input and creates an output

a= 4
b=17
c=0

f(x)={0.25)+(-5)

1 Like

Ans.:

  1. the defined mapping from input to output

  2. a) 4 b) 17 c) 0

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

1 Like
  1. A function takes a given set of inputs and performs the same steps on them in the same way and returns the results as the 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 a function does in your own words

A function is a computation that when given a input does a set formula and gives you an output.

  • 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. 1. f(x)= (x/4)-5
2 Likes

1.) A function works as a machine making consistent calculations involving an input number being inserted and an output number being equated based off the f(x)= { formula given for that function.
2.)
a) Output = 4
b) Output = 17
c) Output = 0
3.) f (x) = (x / 4) - 5

2 Likes
  1. Describe what a function does in your own words: A function receives an input and produces the desired 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
  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.
    [/quote]

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

1 Like
  1. A function takes an input and modifies it to result in an output

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

  1. f(x) = x/4 - 5
1 Like
  1. Function makes a calculation with specific characteristics.
  2. a) 4, b) 17, c) 0
  3. f(x) = x/4-5
1 Like
  1. Function means computations that includes the input and the output.

  2. a) 4
    b) 17
    c) 0

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

1 Like

1.a function is a computation that takes an input and calculates an output.
2. a.4 b.17 c.0
3.f(x)=x/4-5

1 Like
  1. A function is a calculation of numbers, you give a number (input) and it calculates it with the function we’ve chosen and it will give another number (output)

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

  1. f(x) = (x/4)-5
1 Like
  1. Describe what a function does in your own words.
    Function takes input, do some math, calculation and give us output. It is written in syntax.
  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
  1. Function is like a factory which can take an input and produce an output

  • a) 4
  • b) 17
  • c) 0
  1. f(x) = {
    x/4 - 5
    }
1 Like
  1. A function is a computation that takes an input, computes and gets an output.
    2.a. 4 b. 17 c. 0
    3 f(x) = (x/4) - 5
1 Like
  1. Describes computation based on input to generate specific output
  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

The function is an computation that gets input, and generates the outpout.

  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) 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 Like

Homework on Functions - Questions

  1. Describe what a function does in your own words
  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)
  • 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.

a function is a mathematical equation in which X is a variable. A Function is a computation with both an input and output.

A) = 4
B) = 17
C) = 0

f(x)= x/4-5

1 Like

hi everyone,

  1. A function takes an input, makes a computation with it, and returns an output
  2. a)4 b)17 c)0
  3. f(x)=x/4 - 5
1 Like
  1. A function reads the conditions in input and gives an output.
  2. a) 4 b) 17 c) 0
  3. f(x) = {

(x/4)-5

}

1 Like