<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Grading code not simplifying properly... Help!</title>
    <link>http://www.mapleprimes.com/questions/96123-Grading-Code-Not-Simplifying-Properly-Help</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 05:14:54 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 05:14:54 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Grading code not simplifying properly... Help!</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Grading code not simplifying properly... Help!</title>
      <link>http://www.mapleprimes.com/questions/96123-Grading-Code-Not-Simplifying-Properly-Help</link>
    </image>
    <item>
      <title>define s with maple</title>
      <link>http://www.mapleprimes.com/questions/96123-Grading-Code-Not-Simplifying-Properly-Help?ref=Feed:MaplePrimes:Grading code not simplifying properly... Help!:Comments#answer96129</link>
      <itunes:summary>&lt;p&gt;Try this algorithm&lt;/p&gt;
&lt;p&gt;$a=range(3,10);&lt;br&gt;condition:not(eq($a,0));&lt;br&gt;$c=range(-7,7);&lt;br&gt;$b=maple("$a/2*($c)");&lt;br&gt;condition:not(eq($b,0));&lt;br&gt;condition:not(eq($b,1));&lt;br&gt;condition:not(eq($b,$a));&lt;br&gt;condition:not(eq($b,-$a));&lt;br&gt;$re = maple("MathML[ExportPresentation]( ($a*(X[n]))+($b*(X[n-1])) =0)");&lt;br&gt;$s=maple("$b/$a");&lt;br&gt;$ans=maple("A*($s)^n");&lt;/p&gt;
&lt;p&gt;with grading code&lt;/p&gt;
&lt;p&gt;evalb($ans=($RESPONSE))&lt;/p&gt;
&lt;p&gt;Maybe the key issue is how $s in the above is defined using Maple, and not with the old system that MapleTA is built on top of.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Try this algorithm&lt;/p&gt;
&lt;p&gt;$a=range(3,10);&lt;br&gt;condition:not(eq($a,0));&lt;br&gt;$c=range(-7,7);&lt;br&gt;$b=maple("$a/2*($c)");&lt;br&gt;condition:not(eq($b,0));&lt;br&gt;condition:not(eq($b,1));&lt;br&gt;condition:not(eq($b,$a));&lt;br&gt;condition:not(eq($b,-$a));&lt;br&gt;$re = maple("MathML[ExportPresentation]( ($a*(X[n]))+($b*(X[n-1])) =0)");&lt;br&gt;$s=maple("$b/$a");&lt;br&gt;$ans=maple("A*($s)^n");&lt;/p&gt;
&lt;p&gt;with grading code&lt;/p&gt;
&lt;p&gt;evalb($ans=($RESPONSE))&lt;/p&gt;
&lt;p&gt;Maybe the key issue is how $s in the above is defined using Maple, and not with the old system that MapleTA is built on top of.&lt;/p&gt;</description>
      <guid>96129</guid>
      <pubDate>Thu, 19 Aug 2010 18:49:19 Z</pubDate>
      <itunes:author>Alex Smith</itunes:author>
      <author>Alex Smith</author>
    </item>
    <item>
      <title>Thanks for the help Alex!
&amp;nbsp;
You were</title>
      <link>http://www.mapleprimes.com/questions/96123-Grading-Code-Not-Simplifying-Properly-Help?ref=Feed:MaplePrimes:Grading code not simplifying properly... Help!:Comments#comment96136</link>
      <itunes:summary>&lt;p&gt;Thanks for the help Alex!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You were right about the problem being with $s. I tried your fix, but I got some errors that I couldn't understand. I then tried simply changing the answer to $A*(-($b)/($a))^n and everything worked perfectly from there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again :D&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks for the help Alex!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You were right about the problem being with $s. I tried your fix, but I got some errors that I couldn't understand. I then tried simply changing the answer to $A*(-($b)/($a))^n and everything worked perfectly from there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again :D&lt;/p&gt;</description>
      <guid>96136</guid>
      <pubDate>Fri, 20 Aug 2010 05:07:35 Z</pubDate>
      <itunes:author>andrewc</itunes:author>
      <author>andrewc</author>
    </item>
  </channel>
</rss>