Homework on Functions - Questions

1.- A function obtains an output (set of) databy operating with defined inputs (maths, logical, boolean operations etc).

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

3.-

f(x)=x/4-5

1 Like
  1. Function defined the relationship between depended and independent variable

2 A. 4, 12
B -. 49, 17
C. 0, 10

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

A function is anything if you give an input it gives an out put result depending on the pre defined formula .

4
17
0

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

1 Like
  1. A, f(2) = 2^2 = 4. 2 is even
    B, f(7) = 7 + 10 = 17. 7 is odd
    C, f(0) = 0^2 = 0. 0 is even
1 Like

Homework on Functions - Answers

1) Q: Describe what a function does in your own words
**A: A function takes in an input and returns an output

2) Q: Calculate the output of the following function
**A: a) f(2) = (2)^2 = 4
b) f(7) = (7) + 10 = 17
c) f(0) = does not exist (Zero is neither even nor odd)

3) Q: 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) f(x) = (x/4) - 5

1 Like
  1. A function is a mathematical equation.

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

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

1 Like

Zero is well defined as an even number :wink:

  1. Describe what a function does in your own words
    Function is a mathematical description of some calculation process

a) f (2) = 4
b) f(7) = 17
c) f(0) = 0 (0 is not odd nor even)

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

1 Like
  1. A function is a relation that requires an input in order to produce outputs.
  2. a) 4 b) 17 c) 0
  3. f(x) = x/4 - 5
1 Like

0 is an even number.

2 Likes

You are right! Accordint to definiton, even number is a number which is divisible by 2 without any integers.

  1. Function is relation or matematical rule where each input is related to one output.

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

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

1 Like

I did some digging and you are correct. I grew up learning it was neither but it makes sense that it is even. Thanks for the catch.

  1. A technical definition of a function is: a relation from a set of inputs to a set of possible outputs where each input is related to exactly one output.
  2. a = 4
    b = 17
    c = 0
  3. f(x)=x/4-5
1 Like

its a computation. it have an “input” and “output”, the information put to “input” get executed and comes as and “output” when function in use.

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

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

1 Like

Homework on Functions - Questions

  1. Describe what a function does in your own words
    Based on input the function will compute 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

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 computation that calculate a value based on an input or 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)= 2(2)=4
b) f(7)= (7+10)=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

I think C should be undefined. zero is neither Odd or Even

Zero is an even number. So the answer fo C is 0^2 = 0.

  1. a function is a way to automatically perform a set of calculations on a variable.
  2. a) 4; b) 17; c) undefined
  3. f(x) = x/4 - 5
1 Like