Examples
-
Input:
evalf(sqrt(2))
Output:
(Assuming that in the cas configuration (Cfg menu)
Digits=7, so hardware floats are used, and 7 digits are displayed)
- You can change the number of digits in a command line by assigning
the variable DIGITS or Digits.
Input:
DIGITS:=20 |
evalf(sqrt(2))
|
Output:
- Input:
evalf(10^-5)
Output:
- Input:
evalf(10^15)
Output:
- Input:
evalf(sqrt(2))*10^-5
Output: