Homework on Functions - Questions

  1. A function takes an input and returns an output.

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

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

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

HI everyone for the last calculation what is the correct way to write it. ??
should it be two seperate functions ???
Have i done it correctly ???

A function is a process that calculates basic computations

a] 4
b) 17
c) 0

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

1 Like

It flips and folds it the same way
Whatever value you put in.
A=4
B=17
C=0
f(x)=(x/4)-5

1 Like
  1. A function is a computation that gives you an output based on what the input is as well as the function’s parameters.

  2. a) 4
    b) 17
    c) 0

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

1 Like

1 - A function is a computation that takes something (ie. a number) as input and it will give something back as an output (ie. a number).

2 - a. output = 4
b output = 17
c output = 0

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

1 Like

1. A function take a piece of data, or multiple ones and returns the result of a calculation made with them.
2. a)4 b)17 c) returns nothing
3. f(x) = x/4 - 5

Zero is an even number.=>f(0) = 0^2 = 0.

1 Like
  1. Describe what a function does in your own words.
    It is a system of computation that takes an input, can perform a mathematical operation on it, and then return an output

  2. f(2) = 4
    f(7) = 17
    f(0) = 0

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

1 Like
  1. a fuction realtes an input to an output, it takes the input and calculates the fuction to produce an output.

a) 4
b) 17
c) 0

  1. f(x) = (x/4)-5
1 Like
  1. Describe what a function does in your own words
  • A function take a parameters and that parameters is used to do some math process
  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) => even ( ^ ) => output => 2 * 2 = 4
  • b) f(7) => odd ( + ) => output => 7 + 10 = 17
  • c) f(0) => not defined => output not defined => same number => 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.
// multiple lines
f(x) {
 return (x/4) - 5;
}

// one line
f(x) => (x/4) - 5;
1 Like

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

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

1 Like
  1. describes a certain calculation refer to in the formula.

a) 4
b)17
c)0

1 Like

what happened to answer number 3đŸ€”

  1. Functions describe the relationship between one variable to another variable.

(a) 4
(b) 17
© 0

  1. f(x)={ (x/4)-5}
1 Like
  1. A function aims to find an Output from an Input. f(x) = y
  2. a. f(2) = 4
    b. f(7) = 17
    c. f(0) = 0
  3. f(x) = x/4 - 5
1 Like
  1. A function is a relation from a set of inputs to a set of possible outputs.
  2. a) 4 b) 17 c) 0
  3. f(x)=x/4-5
1 Like

thanks for the correction.

1 Like
  1. Similarly to that of a machine, a function creates an input to get an output.
  2. a) 4
    b) 17
    c)0
    f(x) = (x / 4) - 5
1 Like
  1. A function is and input that gives you some type of output.

  2. a) f(x)=x^2, f(2)=4 The answer is 4

  3. b) f(x)=c+10, f(7)=10 the answer is 10
    2 c) f(x)=x^2, f(0)=0 The answer is 0

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

1 Like