The table in Figure 2.1 shows how the terms of the growth function for our dishwashing example

Question:

The table in Figure 2.1 shows how the terms of the growth function for our dishwashing example are related to one another as n grows. Write a program that will create such a table for any given growth function.


Figure 2.1

Number of dishes (n) 15n2 45n 15n2 + 45n 1 15 45 60 2 60 90 150 5 375 225 600 10 1,500 450 1,950 100 150,000 4,500 154,500 1,000 15,000,000 45,000 15,045,000 10,000 1,500,000,000 450,000 1,500,450,000 100,000 150,000,000,000 4,500,000 150,004,500,000 1,000,000 15,000,000,000,000 45,000,000 15,000,045,000,000 10,000,000 1,500,000,000,000,000 450,000,000 1,500,000,450,000,000

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: