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.
Files
Latest commit
This branch is 23 commits behind csc-training/hpc-python:master.
polynomials
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||