[LON-CAPA-users] features of maxima/loncapa

Gerd Kortemeyer lon-capa-users@mail.lon-capa.org
Tue, 18 Nov 2008 20:22:36 -0500


Hi,

On Nov 18, 2008, at 8:14 PM, Jay Sullivan wrote:
>
>
> <problem>
> <script type="loncapa/perl">
> $zero=&cas('maxima',"find_root(x^2+3*x-100,x,-10,10)");
> </script>
> $zero<br/>
> </problem>
>

Yep, I copy-pasted the above onto our server ... and get

8.611874208078342

Can you get a shell on your server? You could start Maxima by hand and  
see what happens:

[www@phy1 ~]$ maxima
Maxima 5.9.2.99rc1 http://maxima.sourceforge.net
Using Lisp SBCL 0.9.10
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) find_root(x^2+3*x-100,x,-10,10);
(%o1) 			       8.611874208078342
(%i2) quit();
[www@phy1 ~]$

- Gerd.