import numpy as np
import matplotlib.pyplot as plt

def f1(x):
    return (x - 10)**6

def f2(x):
    return x**6 - 60 * x**5 + 1500 * x**4 - 20000 * x**3 + 150000 * x**2 - 600000 * x + 1000000

x = 10 + np.arange(-50, 51)*0.001

plt.plot(x, f2(x))
plt.plot(x, f1(x))
plt.show()
