[LON-CAPA-users] calculus features of maxima available
Jay Sullivan
lon-capa-users@mail.lon-capa.org
Sat, 22 Nov 2008 17:26:00 -0500
------=_Part_33416_12745604.1227392760854
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
maxima woes part II:
Is the perl variable $root reserved for something special?
This problem displays (correctly) "3" on the screen:
<problem>
<script type="loncapa/perl">
$d = &cas('maxima',"diff(3*x+1,x)");
</script>
$d <br/>
</problem>
This problem displays "$root" on the screen:
<problem>
<script type="loncapa/perl">
$root = &cas('maxima',"diff(3*x+1,x)");
</script>
$root <br/>
</problem>
Note, that the only difference in the above is using $root rather than $d.
??????????????
Jay
------=_Part_33416_12745604.1227392760854
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
maxima woes part II:<br><br>Is the perl variable $root reserved for something special? <br><br>This problem displays (correctly) "3" on the screen:<br><br><problem><br><script type="loncapa/perl"><br>
$d = &cas('maxima',"diff(3*x+1,x)");<br></script><br>$d <br/><br></problem><br><br>This problem displays "$root" on the screen:<br><br><problem><br>
<script type="loncapa/perl"><br>
$root = &cas('maxima',"diff(3*x+1,x)");<br>
</script><br>
$root <br/><br>
</problem><br><br>Note, that the only difference in the above is using $root rather than $d.<br><br>??????????????<br>Jay<br>
------=_Part_33416_12745604.1227392760854--