import matplotlib.pyplot as plt
import numpy as np

xs = np.linspace(0, 10)
plt.plot(xs, np.cos(xs))