Revision history [back]

A degree is easily converted in radian (360° versus $2\pi$)

sage: cos(52 / 360 * (2*pi))
cos(13/45*pi)

While this is perfectly correct, this is not very useful in order to get a numerical approximation of it you can do

sage: c = cos(52 / 360 * (2*pi))
sage: c.numerical_approx()
0.615661475325658

A degree is easily converted in radian (360° versus $2\pi$)

sage: cos(52 / 360 * (2*pi))
cos(13/45*pi)

While this is perfectly correct, this is not very useful in useful. In order to get a numerical approximation of it you can do

sage: c = cos(52 / 360 * (2*pi))
sage: c.numerical_approx()
0.615661475325658