<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Equation as text using trial and error in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233279#M91146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted a equation as text which should appear when a situation/ condition is satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached excel sheet for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are few examples as to explain the requirement/question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Example1&lt;/STRONG&gt; :- in this example L1&amp;lt;z1, hence the limit of integration of &lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt; changes from 0 to L1 in first equation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the solution i.e the value of &lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt;,&amp;nbsp; but for representation I require the equation too in the MATHCAD sheet. as shown in the example.&lt;/P&gt;&lt;P&gt;Therefore, the value along with equation should appear on the sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;z1=12m, z2=15m, z3=18m, z4=20m,z5=20m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Example 1 (1rd layer).jpg" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93971_Example 1 (1rd layer).jpg" style="height: 378px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Example2&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; :- in this example z1&amp;lt;L1&amp;lt;z2, &lt;SPAN style="font-size: 13.3333px;"&gt;hence the limit of integration of &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; changes from z1 to L1 in first equation.&lt;/SPAN&gt;.&lt;IMG alt="Example 2 (2rd layer).jpg" class="jive-image image-2" src="https://community.ptc.com/legacyfs/online/93972_Example 2 (2rd layer).jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Example3&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; :- in this example z2&amp;lt;L1&amp;lt;z3, &lt;SPAN style="font-size: 13.3333px;"&gt;hence the limit of integration of &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; changes from z2 to L1 in first equation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Example 3 (3rd layer).jpg" class="jive-image image-3" src="https://community.ptc.com/legacyfs/online/93973_Example 3 (3rd layer).jpg" style="height: 376px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Example4&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; :- in this example z4&amp;lt;L1&amp;lt;z5, &lt;SPAN style="font-size: 13.3333px;"&gt;hence the limit of integration of &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; changes from z4 to L1 in first equation&lt;IMG alt="example 5 (5th layer).jpg" class="image-4 jive-image" src="https://community.ptc.com/legacyfs/online/93974_example 5 (5th layer).jpg" style="height: 420px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 14:58:22 GMT</pubDate>
    <dc:creator>kshaikh</dc:creator>
    <dc:date>2018-05-03T14:58:22Z</dc:date>
    <item>
      <title>Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233279#M91146</link>
      <description>Hi,I wanted a equation as text which should appear when a situation/ condition is satisfied.Please find attached excel sheet for the same.Below are few examples as to explain the requirement/question.Example1 :- in this example L1&amp;lt;z1, hence the limit of integration of I1 changes</description>
      <pubDate>Thu, 03 May 2018 14:58:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233279#M91146</guid>
      <dc:creator>kshaikh</dc:creator>
      <dc:date>2018-05-03T14:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233280#M91147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attached MATHCAD sheet.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.ptc.com/u1/111974"&gt;VladimirN.&lt;/A&gt;‌&lt;A href="https://community.ptc.com/u1/265523"&gt;Antonius Dirriwachter&lt;/A&gt;‌&lt;A href="https://community.ptc.com/u1/366070"&gt;Justin Marshall&lt;/A&gt;‌&lt;A href="https://community.ptc.com/u1/110754"&gt;Kyle Phelps&lt;/A&gt;‌&lt;A href="https://community.ptc.com/u1/105422"&gt;Fan CG&lt;/A&gt;‌&lt;A href="https://community.ptc.com/u1/105422"&gt;Fan CG&lt;/A&gt;&lt;/P&gt;&lt;H5 class="simple" style="padding-top: 8px; font-size: 20px; font-family: ff-din-web, Arial, sans-serif; color: #3d3d3d;"&gt;&lt;/H5&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2015 11:37:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233280#M91147</guid>
      <dc:creator>kshaikh</dc:creator>
      <dc:date>2015-11-01T11:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233281#M91148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Khalid Shaikh wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;I wanted a equation as text which should appear when a situation/ condition is satisfied.&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;Please find attached excel sheet for the same.&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;Below are few examples as to explain the requirement/question.&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Example1&lt;/STRONG&gt; :- in this example L1&amp;lt;z1, hence the limit of integration of &lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt; changes from 0 to L1 in first equation.&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;I got the solution i.e the value of &lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt;,&amp;nbsp; but for representation I require the equation too in the MATHCAD sheet. as shown in the example.&lt;/P&gt;
&lt;P&gt;Therefore, the value along with equation should appear on the sheet.&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;z1=12m, z2=15m, z3=18m, z4=20m,z5=20m&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Example2&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; :- in this example z1&amp;lt;L1&amp;lt;z2, &lt;SPAN style="font-size: 13.3333px;"&gt;hence the limit of integration of &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; changes from z1 to L1 in first equation.&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Example3&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; :- in this example z2&amp;lt;L1&amp;lt;z3, &lt;SPAN style="font-size: 13.3333px;"&gt;hence the limit of integration of &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; changes from z2 to L1 in first equation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Example4&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; :- in this example z4&amp;lt;L1&amp;lt;z5, &lt;SPAN style="font-size: 13.3333px;"&gt;hence the limit of integration of &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: terminal, monaco;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; changes from z4 to L1 in first equation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm afraid that I can't work out what you mean by "write the equation" - I can't find anything marked as such in the thread messages or the worksheet.&amp;nbsp; Could you please point me to where you have written what you want returning?&amp;nbsp; Is it in the Excel workbook that you mention?&amp;nbsp; If so, it doesn't appear to have attached to the message when I look at it.&amp;nbsp; Or do you mean the list of layers and their respective frictions at the bottom of the Mathcad worksheet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here' one approach you might want to think about, though.&amp;nbsp; I'd be tempted to convert your equations into something that would be easier to calculate in a loop; this would mean you could change the number of layers without too much further work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93980_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2015 14:50:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233281#M91148</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-11-01T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233282#M91149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is what I had done with I4 something you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2015 15:21:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233282#M91149</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2015-11-01T15:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233283#M91150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My crystal ball told me that the idea was to just display the appropriate integral as a formula which was used to derive the value for the variables I.4, etc.&lt;/P&gt;&lt;P&gt;But then, I may be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Werner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2015 15:25:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233283#M91150</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2015-11-01T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233284#M91151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Mr,. Werner is exactly what I want only the formula to be displayed but also with the condition depending on the value of "L1"&lt;/P&gt;&lt;P&gt;If z1&amp;lt;L1 then formulas representing I1, I2,I3,I4,I5 should be as shown in example1.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Example 1 (1rd layer).jpg" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93990_Example 1 (1rd layer).jpg" style="width: 620px; height: 378px;" /&gt;&lt;/P&gt;&lt;P&gt;if&amp;nbsp; z1&amp;lt;L1&amp;lt;z2 then formulas representing I1, I2,I3,I4,I5 should be as shown in example2&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Example 2 (2rd layer).jpg" class="jive-image image-2" src="https://community.ptc.com/legacyfs/online/93991_Example 2 (2rd layer).jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;if z2&amp;lt;L1&amp;lt;z3 then formulas representing I1, I2,I3,I4,I5 should be as shown in example3&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Example 3 (3rd layer).jpg" class="jive-image image-3" src="https://community.ptc.com/legacyfs/online/93992_Example 3 (3rd layer).jpg" style="width: 620px; height: 376px;" /&gt;&lt;/P&gt;&lt;P&gt;if z4&amp;lt;L1&amp;lt;z5 then formulas representing I1, I2,I3,I4,I5 should be as shown in example5&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example 5 (5th layer).jpg" class="image-4 jive-image" src="https://community.ptc.com/legacyfs/online/93993_example 5 (5th layer).jpg" style="width: 620px; height: 420px;" /&gt;&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for replies.&lt;/P&gt;&lt;P&gt;Khalid &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 05:49:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233284#M91151</guid>
      <dc:creator>kshaikh</dc:creator>
      <dc:date>2015-11-02T05:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233285#M91152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you will hardly get Prime's symbolics to display an integral where the upper and lower limits are equal - it will always automatically simplify it to zero.&lt;/P&gt;&lt;P&gt;Also there is no way I would be aware of to convert a mathematical expression to a string and furthermore a text string would not be able to display the integral in a pleasant way.&lt;/P&gt;&lt;P&gt;So if my first approach is not near to what you need, I could not think of a reasonable other solution (apart from writing an extern program which reads the Prime file, parses the math region you want and creates a new region, a dummy math definition showing the integral in exactly the way you want).&lt;/P&gt;&lt;P&gt;I could think of some ways to do this in older Mathcad 15 using images which are displayed depending of certain conditions, but that feature is (as many others) not available in Prime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 12:03:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233285#M91152</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2015-11-02T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Equation as text using trial and error</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233286#M91153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any indication that this is supposed to be in Prime. So in principle I think it would be possible to write a scripted component that would modify the XML of the math regions to change the integrals. That would be really a lot of work though, and it's very unlikely that it will ever be possible to port such a worksheet to Prime at some point in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 14:26:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Equation-as-text-using-trial-and-error/m-p/233286#M91153</guid>
      <dc:creator>RichardJ</dc:creator>
      <dc:date>2015-11-02T14:26:58Z</dc:date>
    </item>
  </channel>
</rss>

