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

Jay Sullivan lon-capa-users@mail.lon-capa.org
Tue, 18 Nov 2008 19:48:34 -0500


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

That's what I thought, but I just can't see to get the syntax right. I've
written a bunch of problems using the matrix features of maxima that all
work fine. I've also used maxima's "subst" feature quite a bit with success,
but for the life of me I can't get similar commands to work when using
find_root.

I'm guessing it's something with the string quoting that I'm just not
getting right.....

So, what's the magic foobar?
Jay


On Tue, Nov 18, 2008 at 7:24 PM, Gerd Kortemeyer <korte@lite.msu.edu> wrote:

> Hi,
>
> On Nov 18, 2008, at 6:34 PM, Jay Sullivan wrote:
>
>  Is there a list of features of maxima that are available in loncapa?
>>
>> In particular, I am looking to use "find_root" inside a problem.
>>
>
> You basically have a MAXIMA command line at your disposal, e.g.,
>
> $root=&cas('maxima',"find_root('x^2+3*x+5','x',17,42)");
>
> or something like that.
>
> - Gerd.
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>

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

<br>That&#39;s what I thought, but I just can&#39;t see to get the syntax right. I&#39;ve written a bunch of problems using the matrix features of maxima that all work fine. I&#39;ve also used maxima&#39;s &quot;subst&quot; feature quite a bit with success, but for the life of me I can&#39;t get similar commands to work when using find_root.<br>
<br>I&#39;m guessing it&#39;s something with the string quoting that I&#39;m just not getting right.....<br><br>So, what&#39;s the magic foobar?<br>Jay<br><br><br><div class="gmail_quote">On Tue, Nov 18, 2008 at 7:24 PM, Gerd Kortemeyer <span dir="ltr">&lt;<a href="mailto:korte@lite.msu.edu">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 class="Ih2E3d"><br>
<br>
On Nov 18, 2008, at 6:34 PM, Jay Sullivan wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a list of features of maxima that are available in loncapa?<br>
<br>
In particular, I am looking to use &quot;find_root&quot; inside a problem.<br>
</blockquote>
<br></div>
You basically have a MAXIMA command line at your disposal, e.g.,<br>
<br>
$root=&amp;cas(&#39;maxima&#39;,&quot;find_root(&#39;x^2+3*x+5&#39;,&#39;x&#39;,17,42)&quot;);<br>
<br>
or something like that.<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>
</blockquote></div><br>

------=_Part_84383_24535210.1227055714280--