Question 357035: Consider a function machine that accepts inputs as ordered
pairs. Suppose the components of the ordered
pairs are natural numbers and the first component is the
length of a rectangle and the second is its width. The
following machine computes the perimeter (the distance
around a figure) of the rectangle. Thus, for a rectangle
whose length, l, is 3 and whose width, w, is 1, the input
is (3, 1) and the output is or 8. Answer each
of the following:
a. For each of the following inputs, find the corresponding
output: (1, 4), (2, 1), (1, 2), (2, 2), (x, y).
b. Find the set of all the inputs for which the output
is 20.
c. Is (2, 2) a possible output? Explain.
Input=2l+2w
Answer by shawona (1) (Show Source):
|
|
|