Kernel: Python 3 (Anaconda 5)
In [2]:
Please input a value for x (in degrees):
Value calculated using a series expansion of cos(x) with 4 terms: 0.5036278376714493
Value calculated using a cosine function: 0.5000000000000001
Absolute difference between both results: 0.003627837671449141
Percentage difference between both results: 0.7229448078814174