Convert Degrees to Radians
Convert Degrees to Radians
In this tutorial, you will learn how to convert degrees to radians. The trigonometric function argument in RAPTOR uses radians, so if you have an angle in degrees, you must convert it to radians.
Radians are a unit of angular measure used in mathematics and engineering. Unlike degrees, which measure angles based on a circle divided into 360 parts, radians measure angles based on the radius of a circle.
One radian is the angle created when the length of the arc of a circle is equal to the radius of the circle. In other words, it’s the angle at the center of a circle that subtends an arc whose length is equal to the radius of the circle.
Conversion:
There are 2Ï€ radians in a full circle, i.e. 360 degrees.
or
Ï€ radians = 180 degrees.
Degrees to Radians Formula
The general formula to convert degree to radian is as follows:
radians = degrees * (Ï€ / 180)
- π is the mathematical constant.
- π radians is equal to 180 degrees.
- degrees = angle in degrees
- radians = angle in radians
On the other hand:
degrees = radians × 180/ π
Example
If the angle in degrees = 30 degrees. Convert the angle to radians using the above formula
- angle_in_radians = degrees * (Ï€ / 180)
- angle_in_radians = 30 * (Ï€ / 180)
- angle_in_radians = π / 6
Now you can call the RAPTOR trigonometric function:
sin(PI / 6)
PI is the mathematical constant in RAPTOR
Raptor Tutorials
Raptor Tutorials on this website:
Raptor official website: