Homework: Graphing Python Data using Excel

In this homework you are to write a Python program that will generate a set of ordered pairs for the equation y= x4-x3 – 6x2 within the range -4 to +5.  Use 21 ordered pairs equally spaced in this range.  Note: since range() will not generated fractional values you need to do the loop a little differently.  Copy the generated values into excel and graph using a scatter plot.

Copy and Paste both the graph, the Excel table and the Python program onto a single Word page with your name and homework 8 at the top and print and turn in.

Comments are closed.