Homework on Functions - Questions

  1. A function serves as a set of instructions or formulas to be executed.

  2. a. 4
    b. 17
    c. 0

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

1 Like

[

Homework on Functions - Questions](https://forumtest.ivanontech.com/t/homework-on-functions-questions/8429)

Blockchain and Bitcoin 101

Do you want live notifications when people reply to your posts? Enable Notifications .

Do you want to install Ivan on Tech Forum on this device?

Homework on Functions - Questions

Blockchain and Bitcoin 101

1

/

1182

ivanLeader

Jun '19

Homework on Functions - Questions

  1. Describe what a function does in your own words.
    A function is a way to get an output of something. If this than that.
  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 is neither odd nor even

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. A function takes a bunch of numbers and gives an output for that specific problem to be solved.

  2. A) 4
    B) 49
    C) 0

  3. (X/4)-5

A function is a computation that when given an input, gives out an output

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

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

1 Like
  1. A function describes a connection between two or more variables.

  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 is an order to execute an input output equation where the inputnvariable is x.

  1. Calculate the output of the following function
f(x) = {x^2 if x is even +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. A function is the calculation of an output by way of an input.

  2. a)         f(2) = 4
      b)        f(7) = 17
      c)        f(0) = 0
    
  3. f(x) = (x/4) - 5

1 Like

Functions Homework

  1. A function is a computation where you insert an input to obtain an output.
  2. a) 4
    b) 17
    c) 0
  3. f(x) = (x/4) - 5
1 Like

A set of predefined instructions to be executed for the given input which is related to the output.

a) 4
b) 17
c) 0 Assuming 0 as even

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

1 Like

A function is a programmed action to an input that gives an output.

ADDED +1 to integers in function to avoid cheating :wink:

A. 8
B. 18
C. 0
F(x) = x/4 -5

1 Like
  1. A function is a mathematical algorithim or computation with a function name, an input and an output depending on the variables of the input

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

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

1. Describe what a function does in your own words
A function conditionates an output based on an input. Basically is an instruction to do to something to obtain something.

2. What will be the output for the following inputs?
a) 4
b) 17
c) 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 is a rule of correspondence that uniquely assigns to every element or value in a given domain (the set of input elements or values) a corresponding output element or value in a given range (the set of output elements)or values).
  2. f(2)=4, f(7)=17, f(0)=0
  3. f(x)=x/4-5
1 Like

1 - A function is a mathematic computation takes an input , compute it to get an an output .

2 - a - 4
b - 17
c - 0
3 - f(x) = x/4 - 5

1 Like

A function is a computation that takes an input, computes and gets an output

  1. a) 4
    b) 17
    c) 0
  2. f(x) =(x/4)-5
1 Like

1- A function is a computation where you give an input which then gives you an output by using the available syntax

2- a) 4
b) 17
c) 0

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

1 Like
  1. A function is a set of instructions applied to data inputted. The once instructions are applied to inputted data, they are computed and the results are shown as an output.

a) 4
b) 17
c) 0

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

f(x)=x/4 - 5 or (x/4) - 5
This comma is bugging me, but it was probably a typo. :grin:

Yes, the parity of zero is even.

1 Like

7 is odd, so you must add 10 wich is 17.