Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
-- Option variable: keepfloat Default value: false
When keepfloat is true, prevents floating point numbers from being rationalized when expressions which contain them are converted to canonical rational expression (CRE) form.
Note that the function solve and those functions calling it (eigenvalues, for example) currently ignore this flag, converting floating point numbers anyway.
Examples:
(%i1) rat(x/2.0);
rat replaced 0.5 by 1/2 = 0.5 x
(%o1)/R/ -
2
(%i2) rat(x/2.0), keepfloat;
(%o2)/R/ 0.5 x
solve ignores keepfloat:
(%i3) solve(1.0-x,x), keepfloat;
rat replaced 1.0 by 1/1 = 1.0
(%o3) [x = 1](%o1) true (%i2)