benchmarks.wiki / Public workspace

DS-1000 / 324 / I'm working on a problem that has to do with calculating angles of refraction…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

prompt

Problem:
I'm working on a problem that has to do with calculating angles of refraction and what not. However, it seems that I'm unable to use the numpy.cos() function in degrees. I have tried to use numpy.degrees() and numpy.rad2deg().
degree = 90
numpy.cos(degree)
numpy.degrees(numpy.cos(degree))
But with no help. 
How do I compute cosine value using degree?
Thanks for your help.
A:
<code>
import numpy as np
degree = 90
</code>
result = ... # put solution in this variable
BEGIN SOLUTION
<code>

library

Numpy

Discussion

Discussion

No discussion posts on this page yet. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.

Source and history

Official source

initial import