The first thing to do is to use the
%default_mode magic to set the whole worksheet to Maxima mode.
(Note: it's important to put this magic in its own cell.)
We can now use Maxima syntax.
%at the start of a line
In IPython, in Jupyter and in CoCalc worksheets,
names that starts with
% at the start of a line
are interpreted as "magics", so Maxima names
% can't be used at the start of a line.
As a workaround, add a space in front of such names, e.g. a space
%e for the mathematical constants and .
Problem reported at