Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In this example you've given, I'd suggest writing 0.19 and 0.91 as 19/100 and 91/100, respectively. Then, Sage will not attempt to use floating point arithmetic on them, and the expressions will appear nicer. For a more attractive output, you can also use show(f(h)) to have a nicely typeset version appear in the notebook.