CASCALC89 COMMAND · NOT ON THE TI-89
▶approxFraction(
Converts a decimal value into a fraction that approximates it within a tolerance.
Syntax
Expr▶approxFraction([tol])
- Group
- Conversions
- Arguments
- Placed after the expression, with an optional tolerance in the parentheses.
- Origin
- TI-Nspire CAS style command; the TI-89 Titanium handheld does not have it
Example
| Input | Result |
|---|---|
| 0.125▶approxFraction() | 1/8 |
Typing 0.125▶approxFraction() on the home screen and pressing ENTER returns 1/8.
Related commands
- ▶cosRewrites an expression in terms of cosine, for example sin(x)^2 as 1−cos(x)^2.
- ▶CylindDisplays a three element vector in cylindrical form, with radius, angle and height.
- ▶DDConverts an angle to decimal degrees.
- ▶DecimalDisplays a result as a decimal number instead of an exact value.
- ▶DMSDisplays an angle in degrees, minutes and seconds.
- ▶expRewrites an expression in terms of the natural exponential ℯ^x, for example hyperbolic functions.
- ▶GradConverts an angle to gradians.
- ▶lnRewrites logarithms in an expression in terms of the natural logarithm ln.