These exercises allow you to practice graphing using for loops.
Write code to reproduce, as accurately as possible, the following six parabolas.
Remember that the standard form of a parabola is y = a(x-h)² + k
where the vertex is at the point (h,k)
, and the value of a
influences the direction and width.
©2013 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.