Graphing Lines

These exercises allow you to practice graphing using for loops. Download the following files, and make your changes in GraphingLines.java.

Files needed:

Write code to reproduce, as accurately as possible, the following six graphs.

Remember that the standard form of a line is y = mx + b
where m is the slope, and b is the y-intercept.




©2013 Graham Mitchell

This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
Creative Commons License