The purpose of this assignment is to make you use PGPLOT. The following instructions may be useful.
pgcompile pgdemo pgdemo.f90
./pgdemo
for running the 3 demos. If you have difficulty with X-windows,
ask the TA or fellow students for help.
One simple way is to assume that all polynomials are degree 5 and if the user inputs
3 0 -2 0 1 4
she wants the polynomial
3 x^5 - 2 x^3 + x + 4
plotted. Feel free to improve this (degree, representation) and
also try and allow more than one polynomial to be plotted
(change colour) on the same screen.
Try and be flexible with the axes and labelling also.