showing decimals of irrational numbers and irregular fractions



On Tuesday 22 January 2008 07:46, Justin Harford wrote:

> When I type something like
> sqrt(2)
> or
> 3/2
> maxima shows it exactly as I wrote it.  Is there a way I can make it
> show the results in decimal form?

float/bfloat?

(%i1) sqrt(2);
(%o1)                               sqrt(2)
(%i2) float(%o1);
(%o2)                          1.414213562373095

-- 
Alexey Beshenov <al at beshenov.ru>
http://beshenov.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20080122/adb251a8/attachment.pgp