<?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 Re: Matrix terms are reversed when evaluated symbolically in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867617#M206000</link>
    <description>&lt;P&gt;Thanks Wener_E! it seems logical. It was my initial thought, but what about the embedded matrices? I cant make sense of those extra terms?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 22:25:24 GMT</pubDate>
    <dc:creator>MI_10648350</dc:creator>
    <dc:date>2023-04-07T22:25:24Z</dc:date>
    <item>
      <title>Matrix terms are reversed when evaluated symbolically</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867598#M205997</link>
      <description>&lt;P&gt;when evaluating&amp;nbsp;frequency equation for a MDOF model, if the stiffness and mass matrices are defined in terms of mass, elasticity, and etc constants, the resulting terms of the symbolic evaluation are reversed. (see below). I know that the result in terms of the constants is the correct answer. However, I dont understand why the determinant using values only gives reversed terms? Any ideas or pointers are apprieciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MI_10648350_1-1680891008662.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79652iE2E364E3D98A3E97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MI_10648350_1-1680891008662.png" alt="MI_10648350_1-1680891008662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 18:27:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867598#M205997</guid>
      <dc:creator>MI_10648350</dc:creator>
      <dc:date>2023-04-07T18:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix terms are reversed when evaluated symbolically</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867608#M205998</link>
      <description>&lt;P&gt;Here's a follow up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;correction: Im not sure which is the correct answer. when solving the equation by hand the roots are as follows&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MI_10648350_1-1680899010138.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79654iC174951DE66A7CDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MI_10648350_1-1680899010138.png" alt="MI_10648350_1-1680899010138.png" /&gt;&lt;/span&gt;&amp;nbsp;which Im assuming the correct answer. Also the matrix terms are as expected&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MI_10648350_2-1680899172356.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79655i68B27339E34AD7AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MI_10648350_2-1680899172356.png" alt="MI_10648350_2-1680899172356.png" /&gt;&lt;/span&gt;&amp;nbsp;However, when solving it in terms of the constants EI,m,L. The terms are as follows&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MI_10648350_4-1680899685201.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79657iC04AD85A5E5F0224/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MI_10648350_4-1680899685201.png" alt="MI_10648350_4-1680899685201.png" /&gt;&lt;/span&gt;&amp;nbsp;where&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MI_10648350_3-1680899535346.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79656iCD913855A7937256/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MI_10648350_3-1680899535346.png" alt="MI_10648350_3-1680899535346.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MI_10648350_6-1680899832717.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79659iA8AB86BC5102159C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MI_10648350_6-1680899832717.png" alt="MI_10648350_6-1680899832717.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHY IS MATHCAD GIVING ME a DIFFERNT result than expected?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 20:42:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867608#M205998</guid>
      <dc:creator>MI_10648350</dc:creator>
      <dc:date>2023-04-07T20:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix terms are reversed when evaluated symbolically</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867612#M205999</link>
      <description>&lt;P&gt;I see no problem here.&lt;/P&gt;
&lt;P&gt;There is no rule or convention about the order in a set of multiple solutions to an equation.&lt;/P&gt;
&lt;P&gt;Its quite possible that the symbolics returns the solutions in a different order depending on if just numbers are used or variables &amp;amp; units.&lt;/P&gt;
&lt;P&gt;As we don't know how the symbolic "solve" is implemented internally we can't say why.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;WHY IS MATHCAD GIVING ME a DIFFERNT result than expected?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Mathcad gives you a correct result - it can't know what you expect &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 20:59:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867612#M205999</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-04-07T20:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix terms are reversed when evaluated symbolically</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867617#M206000</link>
      <description>&lt;P&gt;Thanks Wener_E! it seems logical. It was my initial thought, but what about the embedded matrices? I cant make sense of those extra terms?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 22:25:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867617#M206000</guid>
      <dc:creator>MI_10648350</dc:creator>
      <dc:date>2023-04-07T22:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix terms are reversed when evaluated symbolically</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867620#M206001</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/690782"&gt;@MI_10648350&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Wener_E! it seems logical. It was my initial thought, but what about the embedded matrices? I cant make sense of those extra terms?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which extra terms?&lt;/P&gt;
&lt;P&gt;Do you talk about the nested matrices when you evaluated the variable "w"?&lt;/P&gt;
&lt;P&gt;You don't show how "w" was calculated, so I can't say anything about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, apart from showing pictures you sure should attach the worksheet itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 22:32:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867620#M206001</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-04-07T22:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix terms are reversed when evaluated symbolically</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867621#M206002</link>
      <description>&lt;P&gt;Here is the worksheet. However, for some reason the nested matrices disappeared! not sure what happened, but its the same exact code I wrote earlier. Im still new to symbolic evals so I guess I have a lot to learn.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 22:50:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867621#M206002</guid>
      <dc:creator>MI_10648350</dc:creator>
      <dc:date>2023-04-07T22:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix terms are reversed when evaluated symbolically</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867624#M206003</link>
      <description>&lt;P&gt;Hard to say what cold have caused Prime to give you the nested matrices for "w".&lt;BR /&gt;Chances are that you had defined something differently from whats now in the sheet or that you deleted some definition you had.&lt;/P&gt;
&lt;P&gt;It looks like you use a n older version of Prime (P6 or below) which uses the older symbolic muPad (which was in many respects more capable than the new one, an Axiom fork).&lt;/P&gt;
&lt;P&gt;Here is what I see in Prime 9 when I recalculate the sheet.&lt;/P&gt;
&lt;P&gt;As you can see its necessary to use "assume,ALL&amp;gt;0" to get a similar result as you got with muPad.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1680911465327.png" style="width: 668px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79662i07F4FA957DB2194B/image-dimensions/668x509?v=v2" width="668" height="509" role="button" title="Werner_E_0-1680911465327.png" alt="Werner_E_0-1680911465327.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Actually the new symbolic is correct because sqrt(x^2)=x is only valid if x&amp;gt;=0. Generally sqrt(x^2)=|x|&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, you can always assign the result of the symbolic evaluation to a function instead of a variable and so can get the numeric results in the same order as the symbolic results:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1680923651519.png" style="width: 516px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/79665iCF690BA0325F2C45/image-dimensions/516x185?v=v2" width="516" height="185" role="button" title="Werner_E_0-1680923651519.png" alt="Werner_E_0-1680923651519.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And o fcourse because you use Mathcad/Prime you should take advantage of its strength and use units throughout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2023 03:34:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Matrix-terms-are-reversed-when-evaluated-symbolically/m-p/867624#M206003</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-04-08T03:34:34Z</dc:date>
    </item>
  </channel>
</rss>

