Homework on Functions - Questions

  1. ,Describe what a function does in your own words
    A function carries out the rules created for it to follow to obtain results.

2;
A) 4
B) 17
C) 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 a computation where you give it a number and it does a calculation, gives you a number as a Output.

  2. Can work that out sorry,

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

  1. A function is an algorithm used to calculate data using specified variables .

  2. What will be the output for the following inputs?
    f(2) = 2^2 = 4
    f(7) = 7+10 = 17
    f(0) = 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

1 Like
  1. Describe what a function does. A function computes an output from an input.
  2. calculate the output of the following function
    f(x) = (x+2)
    f(x) = (10+1,3,5,7,9)’

What will be the output for the following inputs.
a) f(x) = 2
b) f(x) = 7
c) f(x( = 0

Write the definition of a function that takes an inut x divides it by 4 and then outputs that subtracted by 5.
f(x) = x/4 minus 5

@

  1. Describe what a function does in your own words.
    A function is a set of rules or computations that are performed for an input that then produces
    an output.

  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 takes something and makes it into something else.
  2. Calculate the output of the following function.
    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

A. 4
B. 17
C. 0

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

What programming language is this ?

1 Like

A function is a system that takes your input and makes an output.
2.a. 4 b. 17 c. 0
3 f(x) = x/4 - 5

1 Like

Homework on Functions - Questions

  1. Describe what a function does in your own words

A function is a mathematical expression for a computation

  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) = 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

Functions is a calculation process, which we provide certain variable to, to get the outcome of the calculation.

a) 4
b) 17
c) 0

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

1 Like

Homework on Functions - Questions

  1. Describe what a function does in your own words
    A fuction is a description of rules given to an input.

  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) 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

A function is a mathematical equation used in computation, that uses a variable (input), processes the mathematical equation and renders an output based on the input.
//Not sure if I got this one right, if anyone could let me know what they think

a) 4 BECAUSE if;
x = 2, 2 = even, x = (x^2) the output is 4

b) 17 BECAUSE if;
x = 7, 7 = odd, x = (x+10) the output is 17

c) LET’S TAKE FOR GRANTED 0 IS EVEN (as I’ve always thought it to be); because I’m confused after reading this; https://www.quora.com/Is-zero-even-or-odd

0 BECAUSE if;
x = 0, 0 = even, x = (x^2) the output is 0

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

1 Like
  1. A function is a mathematical equation that I give an input (formula) to and it will give me the output or the answer I am seeking.
  2. a. 4
    b. 17
    c. 0
  3. f(x)= / 4 - 5
1 Like
  1. A function takes the input value and gives you the output value.

  2. 4, 17, 0

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

1 Like
  1. Computation that takes an input and gets an output
  2. a) 4
    b) 17
    c) 0
  3. f(x) = (x/4) - 5
1 Like

a function is an equation that gives instructions of what to do with an input- resulting in an output that is specific to the input. it also describes the relationship of an input to an output

4
17
0

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

1 Like
  1. Describe what a function does in your own words
    A function is the basis of a problem. It tells us where to put the number and by math it spits out a other number and thats how it solves a problem/task.
  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)
    f(2)=2^2=4
    f(7)=7+10=17
    f(0)=0^2=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

The parity of zero is even

2 Likes

It is valid! The parity of zero is even.
So 0^2 = 0 (perfectly valid and defined)

The parity of zero is even, so 0^2=0