Homework on Functions - Questions

  1. A function is a mathematical expression that relates inputs to outputs.
  2. a = 4, b= 17, c = 0
  3. f(x) = x/4 - 5
2 Likes
  1. A function performs operations on an input and returns an output
  2. a. 4
    b. 17
    c. 0
  3. f(x) = (x/4)-5
2 Likes
  1. A function is a computation that consists of an input and an output.

  2. a) f(2) = 2^2 = 4

    b) f(7) = 7+10 = 17

    c) f(0) = 0^0 = 0

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

2 Likes

Computations that have an input that calculates an output.

f(2)=4

f(7)=7+10= 17

f(0)=0

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

2 Likes

Oh not sure what happened there. Deffs thought I put 17 but appreciate the correction. Thanks @Fabrice

3 Likes

B) f(7)=odd, so 7+10=17

2 Likes

You are lucky that 2x2=2^2
Check out this post for the meaning of ^
https://forum.toshitimes.com/t/homework-on-functions-questions/8429/438?u=fabrice

3 Likes

Thanks I thought it might be 17, I’ll work on functions more until I get this.

3 Likes
  1. A function is a computation of an input data that gives a result as an output data
  2. a.4
    b. 17
    c. 0
  3. f(x)= (x/4)-5
3 Likes
  1. A function is a computation, that take a input, calculate it and get a output

2a 4
2b 17
2c 0

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

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.

Answers:

  1. A function is a mathematic formula that takes an input does some computations and gives back an output.
  2. a) f(2) = 4, b) f(7) = 17, c) f(0) = 0
  3. f(x) = (x/4) - 5
3 Likes

A: computation of an input = output
4
17
0
f(x)=(x/4)-5

2 Likes
  1. It’s when you give a function an input and then with some calculation, it gives you an output.

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

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

2 Likes
  1. A function is an algebraic expression in which one variable is dependent upon a mathematical statement which yields an output for any acceptable number value input into the statement.

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

  1. f(x) = { 5 - (x/4) } I will further note you said (x/4) “subtracted by” 5 not “subtracting” 5

So if you meant for me to answer (x/4)-5 you should have worded it as such, otherwise my answer is correct based on the language used.

2 Likes

1. Describe what a function does in your own words

A function

  1. takes an input
  2. does a desired set of computations
  3. returns an output

2. Calculate the output of the following function

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

If x is even the output will be x2
If x is odd the output will be x+10

What will be the output for the following inputs?

a) f(2)
Output -> (2^2) -> 4

b) f(7)
Output -> (7+10) -> 17

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

Example
f(16)
-> (16/4)= 4
-> 4 - 5 = -1

f(16) = -1

1 Like

what is a function ?
1 ) function is a special relationship in which an input has a single output.

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

3 f(x)= x/4-5

1 Like
  1. a function is a computation where an input (x) produces the output
    2.a) f(2)= 2X2 = 4

b) f(7) = 7+10 = 17

c) f(0)= 0

  1. f(x) = (x/4)-5
  1. Functions process variables according to the programmed specification. Input, output
  2. a. 4, b. 17, c. 10
  3. f(x) = {x/4 - 5 }
  1. Describe what a function does in your own words
    A function takes an input an delivers an output. It performs math calculation.

  2. a) 4 b)17 c) 0

  3. f(x) {
    x/4 - 5
    }

  1. A function is a calculation

a)4
b)17
c)0

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