Homework on Functions - Questions

  1. A function is an action

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

  1. f(x) = {

(x/4)-5

}

1 Like
f(x) = {  x^2 if x is even 
             x+10 if x is odd }

a) f(2) -> input is even -> output of f(2)=4;
b) f(7) -> input is odd -> output of f(7)=17;
c) f(0) -> input is even -> output of f(0)= 0

  1. A function calculates an arithmetic problem which receives an input to the syntax, and outputs the result.

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

1 Like
  1. Describe what a function does in your own words

A function is a defined set of procedures about how to process provided input in order to generate output. For example, a function can be a defined computation that takes in numerical variables as input, processes the input in a defined way to generate output.

  1. Calculate the output of the following function

f(x) = {

x^2 if x is even

x+10 if x is odd

}

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

My biggest nightmare is Maths, I skipped Engineering to avoid maths. I understood the video, but couldn’t understand the question at all. It brought back the horrifying memories of me failing in maths tests. I will learn the math and come back again. I’m sure , I will be able to do it now because I see a more practical sense of it.

1 Like

A function is a math formula where you can alter an input with a variable to get an output.

a) x = 4
b) x = 17
c) x = 0

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

1 Like
  1. A Function has constant and a variable , the output of a function is base on the inputted variable
  2. F(2)= 4
    F(7) =10
    f(0)= 0
    3… f(x) = 0.25x-5
1 Like
  1. Describe what a function does in your own words
    Output generated based on the input with specified actions

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

The function defines what the output will be based on the 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=4
• b) f(7)=7+10=17
• c) f(0)=0^2=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 gives you and output for every input.
2
a. 4
b. 17
c. 0
3 F(x)= x/4-5

1 Like
  1. A mathematical formula with input variables. Based on the input provided for the variable, it will provide an output.
    f(2) = 4
    f(7) = 17
    f(0) = 0
    f(x) = (x / 4) - 5
1 Like
  1. A function takes an input, and generates an output based on a specific set of pre-scripted rules.

  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 runs a pre-programed calculation to it to get an output.

  1. Calculate the output of the following function

f(x) = {

x^2 if x is even

x+10 if x is odd

}

a) f(2)
b) f(7)
c) f(0)

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
  1. Function is like a process that when you give an input, it will consistently return the outcome/output.
  2. a) 4 b)17 c)10
  3. F(x) = (x/4) - 5
1 Like
  1. Function is a computation that accepts an input, and after performing some kind of operation returns an 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 gets an output.
  2. a. 4, b. 17, c. 0
  3. f (x) = x/4-5
1 Like

1 - A function is the formula that turns an input to an output
2 - A = 4, B = 17, C = 0
3 - f(x) = (x/4) - 5

1 Like

Describe what a function does in your own words.

A function can take an input as a parameter. In the body of the function we can write some logic to manipulate the input and return it as output.

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. Describe what a function does in your own words
    A function is a mathematical formula designed for a specific purpose. Within any function, there can be as few as one variable or can have many variables depending on the purpose of the function. With any function there is always an input and an output result.

  2. Calculate the output of the following function

    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
  1. Takes input, produces output
  2. a) 4
    b) 17
    c) 0
    1. f(x) = x/4 - 5
1 Like

Describe what a function does in your own words: Function is a rule to compute the result based on the specific input.

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) >> Output is 4

b) f(7) >> Output is 17

c) f(0) >> Output is 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