Computes the radians of an input value measuring degrees of an angle. The value can be a Decimal or Integer literal or a reference to a column containing numeric values.
- A unit of 1 radian identifies the angle of a circle where the radius of the circle equals the length of the arc on the circle for that angle. This value corresponds to approximately 57.3 degrees.
- Input units are in degrees.
- You can convert from radians to degrees. For more information, see DEGREES Function.
Numeric literal example:
Output: Generates a column containing the computation in radians of
57.2728 rounded to four digits, which is
Column reference example:
Output: Generates the new
myRads column containing the conversion of the values in
MyDegrees column to radians.
|numeric_value||Y||string, decimal, or integer||Name of column, Decimal or Integer literal, or function returning those types to apply to the function|
For more information on syntax standards, see Language Documentation Syntax Notes.
Name of the column, Integer or Decimal literal, or function returning that data type to apply to the function.
- Missing input values generate missing results.
- Literal numeric values should not be quoted. Quoted values are treated as strings.
- Multiple columns and wildcards are not supported.
|Required?||Data Type||Example Value|
|Yes||String (column reference) or Integer or Decimal literal|
Example - DEGREES and RADIANS functions
This example illustrates to use the DEGREES and RADIANS functions to convert values from one unit of measure to the other.
In this example, the source data contains information about a set of isosceles triangles. Each triangle is listed in a separate row, with the listed value as the size of the non-congruent angle in the triangle in degrees.
You must calculate the measurement of all three angles of each isosceles triangle in radians.
You can convert the value for the non-congruent angle to radians using the following:
Now, calculate the value in degrees of the remaining two angles, which are congruent. Since the sum of all angles in a triangle is 180, the following formula can be applied to compute the size in degrees of each of these angles:
Convert the above to radians:
Create a second column for the other congruent angle:
To check accuracy, you sum all three columns and convert to degrees:
After you delete the intermediate columns, you see the following results and determine the error in the checksum is acceptable:
This page has no comments.