<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Subtitution/explicit calculation</title>
    <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation</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 17:39:52 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 17:39:52 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Subtitution/explicit calculation</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Subtitution/explicit calculation</title>
      <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation</link>
    </image>
    <item>
      <title>working with equations</title>
      <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation?ref=Feed:MaplePrimes:Subtitution/explicit calculation:Comments#answer45274</link>
      <itunes:summary>&lt;p&gt;Maple should be able to extract parts of an object or expression. However, as written, you do not have a valid Maple object.&lt;/p&gt;
&lt;p&gt;While Maple is perfectly happy to work with equations, it does not like implicitly multiple equalities (more than 1 equal sign). If you have an equation, say,&lt;/p&gt;
&lt;pre&gt;
eq:= A = B;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A = B
&lt;/pre&gt;
&lt;p&gt;Then you can do manipulations such as:&lt;/p&gt;
&lt;pre&gt;
lhs(eq);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A
rhs(eq);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B
(lhs-rhs)(eq);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A - B

&lt;/pre&gt;
&lt;p&gt;If this does not, directly, answer your question, please give us some more details and let us see if we can help.&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade  &amp;lt;&amp;gt;&amp;lt;
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu
&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;Maple should be able to extract parts of an object or expression. However, as written, you do not have a valid Maple object.&lt;/p&gt;
&lt;p&gt;While Maple is perfectly happy to work with equations, it does not like implicitly multiple equalities (more than 1 equal sign). If you have an equation, say,&lt;/p&gt;
&lt;pre&gt;
eq:= A = B;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A = B
&lt;/pre&gt;
&lt;p&gt;Then you can do manipulations such as:&lt;/p&gt;
&lt;pre&gt;
lhs(eq);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A
rhs(eq);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B
(lhs-rhs)(eq);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A - B

&lt;/pre&gt;
&lt;p&gt;If this does not, directly, answer your question, please give us some more details and let us see if we can help.&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade  &amp;lt;&amp;gt;&amp;lt;
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu
&lt;/pre&gt;</description>
      <guid>45274</guid>
      <pubDate>Tue, 02 Feb 2010 18:53:49 Z</pubDate>
      <itunes:author>Doug Meade</itunes:author>
      <author>Doug Meade</author>
    </item>
    <item>
      <title>units</title>
      <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation?ref=Feed:MaplePrimes:Subtitution/explicit calculation:Comments#answer45275</link>
      <itunes:summary>&lt;p&gt;This is the closest I could get. All the MySI setup stuff is so that N*m does not automatically turn into joules, etc, as it's supposed to in the SI system. The ``() is to prevent S from multiplying out.&lt;/p&gt;
&lt;pre&gt;
with(Units:-Standard):
Units:-AddSystem(MySI,Units:-GetSystem(SI),N*m,kN*m,N/m):
Units:-UseSystem(MySI):

q:=5*Unit(kN/m);

L:=10*Unit(m);

S:=``(q)*``(L)^2/8;

evalf(combine(expand(S),units));
&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;This is the closest I could get. All the MySI setup stuff is so that N*m does not automatically turn into joules, etc, as it's supposed to in the SI system. The ``() is to prevent S from multiplying out.&lt;/p&gt;
&lt;pre&gt;
with(Units:-Standard):
Units:-AddSystem(MySI,Units:-GetSystem(SI),N*m,kN*m,N/m):
Units:-UseSystem(MySI):

q:=5*Unit(kN/m);

L:=10*Unit(m);

S:=``(q)*``(L)^2/8;

evalf(combine(expand(S),units));
&lt;/pre&gt;</description>
      <guid>45275</guid>
      <pubDate>Tue, 02 Feb 2010 19:01:17 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
    <item>
      <title>thank you for the</title>
      <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation?ref=Feed:MaplePrimes:Subtitution/explicit calculation:Comments#comment45276</link>
      <itunes:summary>&lt;p&gt;thank you for the answer,&lt;br /&gt;
its close, but still not what i want, i would like to get all of the substitutions and final result (with arbitrary accuracy and units) in the same line and in a clear format( i need only some narrative text, equations-&amp;gt;subtitution the variables and the final result (important to see the value of the variables) &lt;u&gt;like in a book&lt;/u&gt;), without `` and other stuff, of course i can hide a lot of line, but its still a lot of work to get the right units and formats&lt;br /&gt;
i want to make a static calculation of structures, im using&amp;nbsp; mathcad too, but there i have some problem with the substitution&lt;br /&gt;
so if anybody know a great software for document the static calculation (mainly bridges) pls let me know (a maple solution would be the best), thanks&lt;/p&gt;
&lt;pre&gt;

&lt;/pre&gt;
&lt;pre&gt;

&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;thank you for the answer,&lt;br /&gt;
its close, but still not what i want, i would like to get all of the substitutions and final result (with arbitrary accuracy and units) in the same line and in a clear format( i need only some narrative text, equations-&amp;gt;subtitution the variables and the final result (important to see the value of the variables) &lt;u&gt;like in a book&lt;/u&gt;), without `` and other stuff, of course i can hide a lot of line, but its still a lot of work to get the right units and formats&lt;br /&gt;
i want to make a static calculation of structures, im using&amp;nbsp; mathcad too, but there i have some problem with the substitution&lt;br /&gt;
so if anybody know a great software for document the static calculation (mainly bridges) pls let me know (a maple solution would be the best), thanks&lt;/p&gt;
&lt;pre&gt;

&lt;/pre&gt;
&lt;pre&gt;

&lt;/pre&gt;</description>
      <guid>45276</guid>
      <pubDate>Tue, 02 Feb 2010 20:14:44 Z</pubDate>
      <itunes:author>rusty</itunes:author>
      <author>rusty</author>
    </item>
    <item>
      <title>annotated context menu actions</title>
      <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation?ref=Feed:MaplePrimes:Subtitution/explicit calculation:Comments#comment45277</link>
      <itunes:summary>&lt;p&gt;Have you seen the annotated context menu actions? By that I mean what happens when you right-click on an input and then select from the popup menu of action choices. What you end up with is the input--&amp;gt;output with a brief description above the arrow. You can chain several of those in one line. (Whether the annotations appear above the arrows, or not, is a preference that can be set in Maple's Standard graphical interface.)&lt;/p&gt;
&lt;p&gt;And those menus can be customized with new types of action (w/descriptions). Hence, I'm pretty sure that Maple can be customized to do something closer to what you've described. The ``() and the expand() could be hidden automatically in this way (ie. &amp;quot;inside the arrow action&amp;quot;). A new action could also be implemented which substitutes into a formula with the values of the variables, while inserting the hidden ``() calls so that it doesn't fully evaluate/expand right away.&lt;/p&gt;
&lt;p&gt;So you'd end up with a bunch of lines showing the &amp;quot;assignents&amp;quot; (equations showing values for the variables). And then on a single, new line you could have a chain of arrow actions. First would be the formula without values, then next with the simple substitutions, then next with the combination of units, then next (if you had exact input values) with the floating-point equivalent. And above each arrow could be nice terse words annotating each action. And of course, you'd just have to hide all the (reusable!) setup code.&lt;/p&gt;
&lt;p&gt;Does that sound closer?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Have you seen the annotated context menu actions? By that I mean what happens when you right-click on an input and then select from the popup menu of action choices. What you end up with is the input--&amp;gt;output with a brief description above the arrow. You can chain several of those in one line. (Whether the annotations appear above the arrows, or not, is a preference that can be set in Maple's Standard graphical interface.)&lt;/p&gt;
&lt;p&gt;And those menus can be customized with new types of action (w/descriptions). Hence, I'm pretty sure that Maple can be customized to do something closer to what you've described. The ``() and the expand() could be hidden automatically in this way (ie. &amp;quot;inside the arrow action&amp;quot;). A new action could also be implemented which substitutes into a formula with the values of the variables, while inserting the hidden ``() calls so that it doesn't fully evaluate/expand right away.&lt;/p&gt;
&lt;p&gt;So you'd end up with a bunch of lines showing the &amp;quot;assignents&amp;quot; (equations showing values for the variables). And then on a single, new line you could have a chain of arrow actions. First would be the formula without values, then next with the simple substitutions, then next with the combination of units, then next (if you had exact input values) with the floating-point equivalent. And above each arrow could be nice terse words annotating each action. And of course, you'd just have to hide all the (reusable!) setup code.&lt;/p&gt;
&lt;p&gt;Does that sound closer?&lt;/p&gt;</description>
      <guid>45277</guid>
      <pubDate>Tue, 02 Feb 2010 21:20:31 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
    <item>
      <title>for example</title>
      <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation?ref=Feed:MaplePrimes:Subtitution/explicit calculation:Comments#comment45278</link>
      <itunes:summary>&lt;p&gt;&lt;span&gt;&lt;a href="http://www.mapleprimes.com:8080/maplenet/primes/worksheet/8331_cmsubdoc.mw"&gt;View 8331_cmsubdoc.mw on MapleNet&lt;/a&gt; or &lt;a href="http://www.mapleprimes.com/files/8331_cmsubdoc.mw"&gt;Download 8331_cmsubdoc.mw&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.mapleprimes.com/viewfile/4074"&gt;View file details&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;span&gt;&lt;a href="http://www.mapleprimes.com:8080/maplenet/primes/worksheet/8331_cmsubdoc.mw"&gt;View 8331_cmsubdoc.mw on MapleNet&lt;/a&gt; or &lt;a href="http://www.mapleprimes.com/files/8331_cmsubdoc.mw"&gt;Download 8331_cmsubdoc.mw&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.mapleprimes.com/viewfile/4074"&gt;View file details&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <guid>45278</guid>
      <pubDate>Wed, 03 Feb 2010 17:39:25 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
    <item>
      <title>annotations can be edited</title>
      <link>http://www.mapleprimes.com/questions/35831-Subtitutionexplicit-Calculation?ref=Feed:MaplePrimes:Subtitution/explicit calculation:Comments#comment45279</link>
      <itunes:summary>&lt;p&gt;One addition to pagan's comments.&lt;/p&gt;
&lt;p&gt;The annotations that Maple inserts above the arrows is editable. So, if you don't like what Maple inserts, or want to otherwise modify this string, just select and edit it. Couldn't be easier!&lt;/p&gt;
&lt;p&gt;While easy, it would be even nicer if users could customize the annotations so the changes could be made consistently and automatically across (at least) a worksheet. This should be doable via the preferences.&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade  &amp;lt;&amp;gt;&amp;lt;
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu
&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;One addition to pagan's comments.&lt;/p&gt;
&lt;p&gt;The annotations that Maple inserts above the arrows is editable. So, if you don't like what Maple inserts, or want to otherwise modify this string, just select and edit it. Couldn't be easier!&lt;/p&gt;
&lt;p&gt;While easy, it would be even nicer if users could customize the annotations so the changes could be made consistently and automatically across (at least) a worksheet. This should be doable via the preferences.&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade  &amp;lt;&amp;gt;&amp;lt;
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu
&lt;/pre&gt;</description>
      <guid>45279</guid>
      <pubDate>Wed, 03 Feb 2010 17:53:38 Z</pubDate>
      <itunes:author>Doug Meade</itunes:author>
      <author>Doug Meade</author>
    </item>
  </channel>
</rss>