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

Jay Sullivan lon-capa-users@mail.lon-capa.org
Tue, 18 Nov 2008 20:04:10 -0600


------=_Part_85431_33030007.1227060250779
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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> 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>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
>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>>
>
>

------=_Part_85431_33030007.1227060250779
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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. <br><br>Of course, this is probably no big surprise....<br>
<br>Jay<br>
<br><br><div class="gmail_quote">On Tue, Nov 18, 2008 at 7:45 PM, Jay Sullivan <span dir="ltr">&lt;<a href="mailto:jmsloncapa@gmail.com" target="_blank">jmsloncapa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Unfortunately I do not have shell access on the server. We are running 2.6.2-2008020611 if that makes any difference.<br><font color="#888888"><br>Jay</font><div><div></div><div><br><br><br><div class="gmail_quote">
On Tue, Nov 18, 2008 at 7:22 PM, Gerd Kortemeyer <span dir="ltr">&lt;<a href="mailto:korte@lite.msu.edu" target="_blank">korte@lite.msu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<div><br>
<br>
On Nov 18, 2008, at 8:14 PM, Jay Sullivan wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
&lt;problem&gt;<br>
&lt;script type=&quot;loncapa/perl&quot;&gt;<br>
$zero=&amp;cas(&#39;maxima&#39;,&quot;find_root(x^2+3*x-100,x,-10,10)&quot;);<br>
&lt;/script&gt;<br>
$zero&lt;br/&gt;<br>
&lt;/problem&gt;<br>
<br>
</blockquote>
<br></div>
Yep, I copy-pasted the above onto our server ... and get<br>
<br>
8.611874208078342<br>
<br>
Can you get a shell on your server? You could start Maxima by hand and see what happens:<br>
<br>
[www@phy1 ~]$ maxima<br>
Maxima 5.9.2.99rc1 <a href="http://maxima.sourceforge.net" target="_blank">http://maxima.sourceforge.net</a><br>
Using Lisp SBCL 0.9.10<br>
Distributed under the GNU Public License. See the file COPYING.<br>
Dedicated to the memory of William Schelter.<br>
This is a development version of Maxima. The function bug_report()<br>
provides bug reporting information.<br>
(%i1) find_root(x^2+3*x-100,x,-10,10);<br>
(%o1) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8.611874208078342<br>
(%i2) quit();<br>
[www@phy1 ~]$<div><div></div><div><br>
<br>
- Gerd.<br>
_______________________________________________<br>
LON-CAPA-users mailing list<br>
<a href="mailto:LON-CAPA-users@mail.lon-capa.org" target="_blank">LON-CAPA-users@mail.lon-capa.org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-users" target="_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>

------=_Part_85431_33030007.1227060250779--