Referenced from lesson Defining Functions

Look at each set of examples on the left and circle what is changing from one example to the next.

Then,match the examples on the left to the contracts that describe them.

Examples: Functions:
x fx

1

2 × 1

2

2 × 2

3

2 × 3

1

A

fx=x-3

x fx

15

15 - 3

25

25 - 3

35

35 - 3

2

B

fx=2x

x fx

10

10 + 2

15

15 + 2

20

20 + 2

3

C

fx=2x+1

x fx

0

30 -2

1

31 -2

2

32 -2

4

D

fx=3x-2

x fx

10

210 + 1

20

220 + 1

30

230 + 1

5

E

fx=x+2

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap:Data Science by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.