[LON-CAPA-users] features of maxima/loncapa
Peter Riegler
lon-capa-users@mail.lon-capa.org
Wed, 19 Nov 2008 06:53:52 +0100
Hi,
I recommend you to get maxima from
http://maxima.sourceforge.net/
and install it on your PC. When I authoring problems using maxima I
usually play around with maxima on my machine a bit before implementing
the code.
Peter
Jay Sullivan wrote:
> Forgot to mention that my example works find if I author it on the
> educog server. Or if I publish it on the VCU server and then view as CC
> from the educog server it also works fine.
>
> Of course, this is probably no big surprise....
>
> Jay
>
>
> On Tue, Nov 18, 2008 at 7:45 PM, Jay Sullivan <jmsloncapa@gmail.com
> <mailto:jmsloncapa@gmail.com>> wrote:
>
> Unfortunately I do not have shell access on the server. We are
> running 2.6.2-2008020611 if that makes any difference.
>
> Jay
>
>
>
> On Tue, Nov 18, 2008 at 7:22 PM, Gerd Kortemeyer <korte@lite.msu.edu
> <mailto:korte@lite.msu.edu>> wrote:
>
> 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.
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> <mailto:LON-CAPA-users@mail.lon-capa.org>
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>
>
>
--
Peter Riegler
Fachhochschule Braunschweig/Wolfenbüttel
Salzdahlumer Str. 46/48, 38302 Wolfenbüttel
Tel. +49 5331 939 6314, Fax. +49 5331 939 6002
email: p.riegler@fh-wolfenbuettel.de
http://public.rz.fh-wolfenbuettel.de/~riegler