Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:chapter3:angles [2017/08/10 19:38] smartin [Working with Angles] |
manual:chapter3:angles [2019/07/25 15:51] claudio [Working with Angles] |
||
---|---|---|---|
Line 5: | Line 5: | ||
==== Entering Angles ==== | ==== Entering Angles ==== | ||
- | Angles are their own object type. An angle is entered by prefixing a number with the angle symbol (∡, **AL-RS-6**), | + | Angles are their own object type. An angle is entered by prefixing a number with the angle symbol (∡, shortcut |
'' | '' | ||
Line 13: | Line 13: | ||
'' | '' | ||
- | '' | + | '' |
+ | and | ||
- | ---- | + | '' |
+ | |||
+ | ---- | ||
==== Working with Angles ==== | ==== Working with Angles ==== | ||
+ | Trigonometric functions operate on angle objects as expected: | ||
+ | '' | ||
+ | Basic arithmetic operations can also be applied to angle objects: | ||
- | ---- | + | '' |
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | The result of an operation on angle objects has the following conventions: | ||
+ | |||
+ | * Addition and subtraction between angles returns an angle expressed in the system of the first argument. For example '' | ||
+ | |||
+ | * Addition and subtraction between an angle and a real number will interpret the real number as an angle given in the [[manual: | ||
+ | |||
+ | * Multiplication of an angle by a real number will result in an angle in the given format. For example '' | ||
+ | |||
+ | * Division of an angle by a number results in an angle in the given format. For example '' | ||
+ | |||
+ | * Commands and functions that accept angles as arguments will consider that a real number is an angle expressed in the [[manual: | ||
+ | |||
+ | * For all other operations and commands, including those that don't accept angles as arguments, angles will be converted to radians and become normal real numbers. | ||
+ | |||
+ | |||
+ | ---- | ||
==== Commands for Angle Objects ==== | ==== Commands for Angle Objects ==== | ||
+ | | Command | Purpose | Example | | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
---- | ---- |