Homework on Functions - Questions

  1. A function is a computer language for inputting a mathematical equation
  2. a) 4. b)17. c)0
  3. f(x) = (x/4)-5
1 Like
  1. A function is a computation that takes and input, and computes an output. Or a description of rules to be applied to a given input.

[quote=“ivan, post:1, topic:8429, full:true”]
Homework on Functions - Questions

  1. Describe what a function does in your own words,
    A function is the performance side of a calculation, a function is what is being calculated or performed and the functions

  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) = non number
  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/4) - 5]

  1. A function is a computation of an input resulting in an 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.
    Function is a computation that will calculate outputs for various 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
    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 ads a variable to an input giving it a different output.
  2. a. 4
    b. 17
    c. 0
  3. f(x) = (x/4)-5
1 Like
  1. A function is a basic code that involves an input and an output. I’ts simple mathematics. It has a syntax, which is the describes the proper way to write the code, and has a function name and the variables within.

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

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

1 Like

1.A named section of a program that performs a specific task. In this sense, a function is a type of procedure or routine.

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

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

1 Like
  1. It’s a pipe, you push input on one side, pipe performs some operations on the input, then pipe outputs on the other side.
  2. a) 4 b) 17 c) 0
  3. f(x) = x / 4.0 - 5.0
1 Like
  1. A function is a mathematical formula with an input and output.

  2. a- 4
    b- 17
    c- 0

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

1 Like
  1. A function is an input with variables that will give you an 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 : A mathematical formula that gives you an output for a given input.

  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

1 Like

Hello,
1) A function takes a set of numerical instructions and computes the answer.
2) A - f(4)
B - f(17)
C - f(0)
3) f(x) = x/4-5

1 Like

Homework:

  1. Describe what a function does in your own words.
    A function is an mathematical instruction that describes an input and then how to perform a calculation to derive the output.
  2. Calculate the output of the following function:
    f(x) = {

x(power of 2) if x is even

x+10 if x is odd

}
What will be the output for the following inputs?

a) f(2)
x=2, 2 is an even number, therefore the output will be 2 to the power of 2, or 2*2=4
b) f(7)
x=7, 7 is an odd number, therefore the output will be 7+10=17
c) f(0)
This is simple x=0

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

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

1 Like
Describe what a function does in your own words

A math process where you can input a number and a number is returned, based on how that process is defined.

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.

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

1 Like
  1. A function has an input and an output where if you put in a fuctin or a number it will provide a result or a number by calculations.
  2. a) 4 and 12 b) 49 and 17 c) 0 and 10
  3. f(x) = x/4 - 5
  1. Function can be described as computations where you give inputs to get outputs.

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

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

  1. Function creates an output based on an input formula.

  2. 4, 17, 0

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

1 Like

1.A function is used to represent a computation or a list of computations in a given order.

  1. A. 4
    B. 17
    C. 0

  2. f(x) = { (x % 4) - 5}

A function is like a box which is given parameters to give an output based on input and the function parametres.

a.4
b.17
c.0

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