title: Python: Converting degrees to radians - Not working
body: <p>I have tried doing the following in Python with numpy but my answer is not coming out to the value I want. I want <code>cos(30) = 0.866</code></p>
  
  <pre><code>import math
  import numpy as np
  
  print(math.degrees(np.cos(30)))
  print(np.cos(math.degrees(30)))
  print(math.degrees(math.cos(30)))
  print(math.cos(math.degrees(30)))
  </code></pre>
  
  <p>Any help would be appreciated, thank you</p>