# TABULA/samples/angle sine and cosine

Jump to navigation
Jump to search

This is SAMPLE0. To work with this sample, enter $0

angle sine and cosine ┌ ┌ ┌ ┌ {1} 1 rad angle │ │ │ └>{2} 57.296° ={1} │ │ └> {3} 57° 17' 44" ={1} │ └> ┌ {4} 0.841 / sine └> ├ {5} 0.540 / cosine └>{6} 1.382 / sin+cos

## Rationale

Line {1} is an angle expressed in radians [rad].
In the SI system, angles (like their sines and cosines) are dimensionless.
But TABULA treats [rad] as if it were a new independent SI base unit,
*not* as dimensionless.

The effect of giving an angle its own independent dimension is to make it easy to convert an angle to different angle-formats (e.g. [deg], [dms]) by use of the units dropdown, which would otherwise get cluttered-up with irrelevant units.

## Try it out

- Select line {1} then enter
`4`

Lines {2} and {3} will change to the corresponding angle in degrees, in two different formats. - Zero line {4}

Lines {1} {2} and {3} will change to show a zero angle, and lines {4} and {5} will change to show the sine and cosine of {1} (viz. 0 and 1 respectively)

## Build this t-table

- Clear the t-table
- Edit the title to read:
`angle sine and cosine` - Make a new line {1}
- Change the units of line {1} to
`[rad]` - Edit the name of line {1} to read:
`angle` - Make a new dependent line {2} which always stays equal to {1}
- Change the units of line {2} to
`[°]`(`[deg]`) - Make another new dependent line {3} which always stays equal to {1}
- Change the units of line {3} to
`[dms]`(degrees - minutes - seconds) - Create the remaining lines as in TABULA/samples/plot_test_using_Function_plotline.