Homework on Functions - Questions

Function describes mathematical operation that includes some variables that are our inputs.
a) Output is 4
b) Output is 17
c) Output is 0
f(x) = (x/4)-5

1 Like
  1. Functions are a relation from a set of input to a set of output, where each input is related to just one output.

  2. a) 4
    b) 17
    c) 0

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

1 Like
  1. A function transforms input into output with a calculation.
    2a. 4
    2b. 17
    2c. 0
  2. f(x) = x/4 -5
1 Like
  1. A function is a calculation that is given a numerical input to get a numerical output

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

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

f(x) = {

x^2 if x is even

x+10 if x is odd

}

a) 4
b) 17
c) 0

1 Like

what happened to answer number 3πŸ€”

  1. a fuction takes input, performs a defined calculation then gives it’s output
  2. a 4 b 17 c 0
  3. f(x) = {
    x/4 - 5
    }
1 Like
  1. Gets output from given input.

  2. a) 4
    b) 17
    c) 0

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

1 Like

1.function take an input calculate it regarding to specification and gives an output.
Function takes X and makes it Y.

  1. it is an input to get a desired output.

  2. 4
    17
    0

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

1 Like
  1. Relation between a set of inputs and a set of permissible outputs.
  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 describes how one variable is affected by another variable having an outcome.

  2. 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

3.  f(x) = (x/4)-5
1 Like
  1. a computation that takes an input and gives an output.

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

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

1 Like
  1. A function is a mathematical equation that takes a syntax, or an input, and gives us an output.

  2. f(2) = { 2^2 = 4}
    f(7) = { 7 + 10 = 17}
    f(0) = {0^2 = 0}

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

1 Like
  1. A function takes an input and changes it in a specified way to create the correct output

  2. a) 4
    b) 17
    c) 0

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

1 Like
  1. A function takes an input, performs some calculation to it and provides an output.
  2. a) f(2) = 4
    b) f(7) = 17
    c) f(0) = 0
  3. f(x) = { x / 4 - 5 }
1 Like
  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)

A little help here please. I’m getting

a) f(4)
b) f(9) <β€” if ^2 is a caret and is essentially and, why is everyone else getting 17?
c) f(0)

I am not sure, how you get 9.

f(x) = {

x^2 if x is even

x+10 if x is odd

}

Is a branching function. Simply meaning you decide the path the function will take based on the function input. So in case where x = 7, it means that x is an odd number and therefore you use the second path (x + 10) = 7+ 10 = 17.

Ahh, I see what I did wrong. Thanks :slight_smile:

1 Like
  1. You give something to a function which is input and and then you get output.

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

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