This is an example of a Maxima-Fishbowl notebook, showing text, formulas, and plots. To start with, I'll compute an integral.
integrate (exp(-t^2), t, minf, inf)
Terrific. How about an example that shows the nice $\LaTeX$ integral sign.
'integrate (x*log(x), x, a, b)
What about finding the roots of a polynomial?
foo : solve (x^3 - 2, x)
Let's verify that the elements of foo
are indeed the roots in question.
bar : map (lambda ([u], u^3), map (rhs, foo))
Well, it's still not obvious. Let's simplify a little.
map (radcan, bar)
Here's a different way to simplify.
map (expand, bar)
Now let's make a plot. Note that the plot2d
expression has to be
quoted -- at present this workaround is necessary. If the quote is
omitted, the plot shows up in a Gnuplot window, not in the document.
Future versions of Maxima-Fishbowl will, I hope, lack this misfeature.
'plot2d ([sin, cos, tan], [x, -10, 10], [y, -10, 10])
By the way, output to standard output (e.g. the output of print
or describe
) is displayed in the notebook as plain text.
print ("HELLO WORLD!")
HELLO WORLD!
In the case of print
, the printed value is also returned, so it is typeset also. Documentation from the reference manual must be retrieved by describe
, as the ?
and ??
notations are not (yet) understood by Maxima-Fishbowl.
describe (erf)
-- Function: erf (<z>) The Error Function erf(z) (A&S 7.1.1) See also flag 'erfflag'. There are also some inexact matches for `erf'. Try `?? erf' to see them.
OK, that's all for now!