A graphic artist uses a program to draw geometric shapes in a given pattern. The program uses an algorithm that draws the shapes based on input from the artist. The table shows the approximate number of steps the algorithm takes to draw different numbers of shapes.
Number of
Shapes Drawn
Number of
Steps
4 17
5 24
6 35
7 50
Based on the values in the table, which of the following best characterizes the algorithm for drawing n shapes, where n is a very large number?
A graphic artist uses a program to draw geometric shapes in a given pattern. The program uses an algorithm that draws the shapes based on input from the artist. The table shows the approximate number of steps the algorithm takes to draw different numbers of shapes.
Share
The algorithm runs in a reasonable amount of time because it will use approximately n2 steps to draw n shapes.