'''
import timeit
import math
x = np.linspace(0,10,20000)
y = np.cos(x)
%timeit y + 1
(0<=x<=10).all()
for i in range(20000):
y = math.cos(x)
%timeit y + 1
''' I am getting an error for raw python code. Also i am unable to compute the difference.