Computer Science, asked by dhw4nit, 1 year ago

What are the 3 rules to enter a function?

Answers

Answered by Abhaygupta12345
6

Suppose you are washing your clothes at a laundromat.The table below shows the relationship between number of loads and cost.

Write a function rule showing the relationship between number of loads and cost.

Number of loads 1 2 3 4 5

Cost 3 6 9 12 15

First, show the relationship:

Cost is 3 × number of loads. For instance, 2 × 3 = 6

Second, define:

Let n be the number of loads

Let c be the cost.

Write the equation:

c = 3 × n

Example #2:

Write a function rule for the following situation:

Input 1 2 3 4 5

Output 5 6 7 8 9

First, show the relationship:

Output is 4 + input.

Second, define:

Let I = input

Let O = output.

Write the equation:

O = 4 + I

Similar questions