from matplotlib.pyplot import plot, show

X = [ x/10 for x in range(-50,51) ]
Y = [ 0.05*x**3 - 3*x + 1 for x in X ]

plot(X, Y)
show()
