Skip to content

Files

Latest commit

8fb0379 · Jan 25, 2018

History

History
This branch is 23 commits behind csc-training/hpc-python:master.

polynomials

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 22, 2018
Jan 25, 2018

Polynomials

Fit a second order polynomial to the data of previous exercises by using numpy.polyfit(). Construct the values of the polynomial in the interval [-6,6] with numpy.polyval(). You can use matplotlib for plotting both the original points and the fitted polynomial.