topic Re: No Solution Found on symbolic solve in PTC Mathcad
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488302#M174006
<P>Thanks for the solutions so far everyone. </P>
<P>I believe I need to clear some things up. My main goal is to rewrite the equation to get Pe by itself, but I am having issues manipulating the equation.</P>
<P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Equation3.JPG" style="width: 339px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2574iC8783E0E86FDB56A/image-size/medium?v=1.0&px=400" role="button" title="Equation3.JPG" alt="Equation3.JPG" /></span></P>
<P>I actually have values for everything but Pe. I am trying to make the excel sheet so that I can change gamma,Pc, and epsilon so that I can get the values of Pe without doing a solve block in mathcad or solver in excel.The ranges for gamma are 1.13 to 1.66, Pc are 10 to 2500, and epsilon are 3.5 to 100. I am currently using values of gamma=1.24, Pc=350, and epsilon=6.67</P>Tue, 24 Oct 2017 14:12:52 GMTphillip_e2s2017-10-24T14:12:52ZNo Solution Found on symbolic solve
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488189#M173978
<P>I am trying to use MathCAD to rearrange this equation to find e:</P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Equation.JPG" style="width: 320px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2543i3D67192BDBA7D7CF/image-size/medium?v=1.0&px=400" role="button" title="Equation.JPG" alt="Equation.JPG" /></span></P>
<P>but when I do symbolic solve it says no solution found.</P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Equation2.JPG" style="width: 400px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2544i47D3A9D862CF1375/image-size/medium?v=1.0&px=400" role="button" title="Equation2.JPG" alt="Equation2.JPG" /></span></P>
<P>what am I doing wrong? If I do it as a solve block I can get a an answer for e, but I need to rewrite the equation so that I can put it in an excel sheet to do the calculations for furture use. </P>
<P>Thanks in advance for the help. </P>Thu, 03 May 2018 13:25:32 GMThttps://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488189#M173978phillip_e2s2018-05-03T13:25:32ZRe: No Solution Found on symbolic solve
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488191#M173979
<P>Not everything that can be solved numerically (e.g. solve block) can be solved symbolically. Due to the complexity of this equation, I'm not surprised that no solution is found. It might be possible to find a solution by applying some constraints. Use the symbolic keyword "assume" before "solve". For example, is gamma always bigger than 1? If so, include "assume, gamma>1".</P>Mon, 23 Oct 2017 17:55:16 GMThttps://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488191#M173979MJG2017-10-23T17:55:16ZRe: No Solution Found on symbolic solve
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488197#M173981
<P>The problem is that gamma is unknown.</P>
<P>If you substitute (e/c)^(1/gamma)=ecg then after some manipulation you can reduce it to:</P>
<P>ecg^2 - ecg^(gamma+1) = some expression in gamma and epsilon.</P>
<P>This will not solve symbolically, simply because gamma is unknown.</P>
<P>But if you set gamma to a known integer value (unequal to -1, 0 and +1), you can get a solution for e.</P>
<P>Example:</P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LM_20171023_symbolic.png" style="width: 999px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2546iC7A03C0F46C405A6/image-size/large?v=1.0&px=999" role="button" title="LM_20171023_symbolic.png" alt="LM_20171023_symbolic.png" /></span></P>
<P>And you can even get solutions for gamma=1/2 or 1/3, but I'll spare you the (huge) results.</P>
<P>Success!<BR />Luc</P>
<P> </P>Mon, 23 Oct 2017 20:08:48 GMThttps://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488197#M173981LucMeekes2017-10-23T20:08:48ZRe: No Solution Found on symbolic solve
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488286#M174001
<P>Hi,</P>
<P>you can solve the equation this way:</P>
<P> </P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Transcendent equation 10.jpg" style="width: 850px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2577iEFF75B05B1C1E11E/image-size/large?v=1.0&px=999" role="button" title="Transcendent equation 10.jpg" alt="Transcendent equation 10.jpg" /></span></P>
<P> </P>
<P> </P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Transcendent equation 1010.jpg" style="width: 451px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2580i4BE472E85A8859BE/image-size/large?v=1.0&px=999" role="button" title="Transcendent equation 1010.jpg" alt="Transcendent equation 1010.jpg" /></span></P>
<P> </P>Tue, 24 Oct 2017 16:59:36 GMThttps://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488286#M174001-MFra-2017-10-24T16:59:36ZRe: No Solution Found on symbolic solve
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488302#M174006
<P>Thanks for the solutions so far everyone. </P>
<P>I believe I need to clear some things up. My main goal is to rewrite the equation to get Pe by itself, but I am having issues manipulating the equation.</P>
<P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Equation3.JPG" style="width: 339px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2574iC8783E0E86FDB56A/image-size/medium?v=1.0&px=400" role="button" title="Equation3.JPG" alt="Equation3.JPG" /></span></P>
<P>I actually have values for everything but Pe. I am trying to make the excel sheet so that I can change gamma,Pc, and epsilon so that I can get the values of Pe without doing a solve block in mathcad or solver in excel.The ranges for gamma are 1.13 to 1.66, Pc are 10 to 2500, and epsilon are 3.5 to 100. I am currently using values of gamma=1.24, Pc=350, and epsilon=6.67</P>Tue, 24 Oct 2017 14:12:52 GMThttps://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488302#M174006phillip_e2s2017-10-24T14:12:52ZRe: No Solution Found on symbolic solve
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488309#M174010
<P>We understand your goal. What we are saying is that's not possible. There is no single equation that can solve for Pe. You'll need to use numerical methods of calculation. In Mathcad, this could be a solve block or root function. In Excel, the solver is probably your best option. In Excel, you could also have a table of possible values for Pe, calculate epsilon for each, and then do a lookup for the closest match.</P>
<P> </P>
<P>Also, you'll need to address the fact that your equation can have multiple solutions. Which do you prefer in this case?</P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 397px;"><img src="https://sejnu66972.i.lithium.com/t5/image/serverpage/image-id/2575i5416BD2F2458AE5A/image-size/large?v=1.0&px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /></span></P>Tue, 24 Oct 2017 14:56:42 GMThttps://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488309#M174010MJG2017-10-24T14:56:42ZRe: No Solution Found on symbolic solve
https://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488345#M174017
<BLOCKQUOTE><HR /><LI-USER uid="47481"></LI-USER> wrote:<BR />
<P>In Excel, you could also have a table of possible values for Pe, calculate epsilon for each, and then do a lookup for the closest match.</P>
<P> </P>
<HR /></BLOCKQUOTE>
<P>I was curious to explore this concept. Attached is what I came up with. I provide it with little/no explanation, so hopefully you can follow my logic.</P>
<P> </P>
<P>Note that I did nothing to address the fact that you may have multiple solutions. This approach just finds a solution. Which one it finds is dependent on the inputs.</P>
<P> </P>
<P>If you're familiar with VBA programming, you could create a custom function that performs a similar calculation and then iterates until the variance is below an acceptable level. Maybe someone in an Excel forum even has a better idea for a custom function.</P>Tue, 24 Oct 2017 19:09:48 GMThttps://community.ptc.com/t5/PTC-Mathcad/No-Solution-Found-on-symbolic-solve/m-p/488345#M174017MJG2017-10-24T19:09:48Z