from matplotlib.pyplot import plot, show, grid
from numpy import linspace

x = linspace(-5, 5, 100)
y = 0.05*x**3 - 3*x + 1

plot(x,y)
grid()
show()
