<?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: How to get a argument out of a optimisation (maximize) function in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047439#M219932</link>
    <description>&lt;P&gt;Hi Werner_E&lt;BR /&gt;Thanks for your answer. Have to look deeper into this problem.&lt;BR /&gt;I attached now the file as zip.&lt;BR /&gt;Maybe you or Terry could implement the solution to get the alpha values directly into my file. This would help a lot.&lt;BR /&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
    <pubDate>Fri, 12 Dec 2025 16:01:02 GMT</pubDate>
    <dc:creator>andreas_lanter</dc:creator>
    <dc:date>2025-12-12T16:01:02Z</dc:date>
    <item>
      <title>How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047379#M219925</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I hope somebody could help me.&lt;/P&gt;&lt;P&gt;I have this function with a table which shows the "a_hoch" and "a_lang" values. I want to show the angle "alpha" as well in this table. How could I do this? Unfortunately I can not upload the file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreas_lanter_0-1765534270621.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132286i07E12B99C24E3632/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreas_lanter_0-1765534270621.png" alt="andreas_lanter_0-1765534270621.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="andreas_lanter_1-1765534292948.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132287i33C27EDD7AB061AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreas_lanter_1-1765534292948.png" alt="andreas_lanter_1-1765534292948.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot and best regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 10:14:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047379#M219925</guid>
      <dc:creator>andreas_lanter</dc:creator>
      <dc:date>2025-12-12T10:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047402#M219926</link>
      <description>&lt;P&gt;Hi Andreas&lt;/P&gt;
&lt;P&gt;You did not say but assumed Prime 11&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 506px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132298iEBA5BEF2114D9AEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 393px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132299iC2D2BCD6F7BA669D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 13:13:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047402#M219926</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2025-12-12T13:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047413#M219928</link>
      <description>&lt;P&gt;Hi Terry&lt;BR /&gt;Sorry I use Prime 7. Tried to implement your formula but get strange alpha values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreas_lanter_0-1765547231622.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132302i138FABF8B58B2EF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreas_lanter_0-1765547231622.png" alt="andreas_lanter_0-1765547231622.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry but I can not upload my file.&lt;/P&gt;&lt;P&gt;Could you help me again?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 13:48:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047413#M219928</guid>
      <dc:creator>andreas_lanter</dc:creator>
      <dc:date>2025-12-12T13:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047417#M219929</link>
      <description>&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Hi Terry &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mabe I can send you me file via mail. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Andreas &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Dec 2025 14:04:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047417#M219929</guid>
      <dc:creator>andreas_lanter</dc:creator>
      <dc:date>2025-12-12T14:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047433#M219930</link>
      <description>&lt;P&gt;The forum still has troubles with attachments. It will refuse to attach Mathcad and Prime files. Curious enough it seems to work OK for some users like Terry, but not for users like you and me. (&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/378002"&gt;@AndrewK&lt;/a&gt;&amp;nbsp;: Are there any news on this from Khoros?)&lt;/P&gt;
&lt;P&gt;As other files like pdf's or zip's work OK, the workaround is to put the file in an archive (zip, rar, ...) and attach that archive file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am confused as your problem seems to be the same as was posted &lt;A href="https://community.ptc.com/t5/Mathcad/How-to-generate-an-output-table/td-p/1046814/jump-to/first-unread-message" target="_blank" rel="noopener"&gt;here&lt;/A&gt; and it looks like you took my suggestion for creating a table from there. Unfortunately you still stick to the time consuming "a_l" function which is three time slower than necessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I notice that the second equation in your solve block differs from the one given in the thread referenced. You used "(D-d)" while&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1032035"&gt;@Pia_L&lt;/a&gt;&amp;nbsp; had used just "D".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According your angles being that different compared to ones shown by Terry the only explanation which comes to my mind is that you are using different Prime versions and maybe the numeric algorithm used by "maximize" had changed. Actually the results you get are correct, too, given the periodicity of the sine and cosine functions. You get Terry's values for the first few entries if you add 30 time 2 pi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even in Prime 11 the angle values we get for alpha run from -15.5 up to 84.6.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1765553271121.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132305i02AA5751608FBECF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1765553271121.png" alt="Werner_E_0-1765553271121.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could add an additional constraint like&amp;nbsp; &amp;nbsp;0&amp;lt;=alpha&amp;lt;=2 pi&amp;nbsp; in the solve block but this would make the solve block fail now and then for some values of a_hoch. It might be a good idea to use a "try...onerror..." in the solve block in case maximize can't find a solution for one reason or another:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1765553828196.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132307i64F36EBFC0CAF428/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_2-1765553828196.png" alt="Werner_E_2-1765553828196.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A better approach for the angle correction might be to correct the angles after they were calculated by the solve block.&lt;/P&gt;
&lt;P&gt;Here is a function which works four time faster than what was shown so far and it returns not only alpha, but also the value of alpha corrected to be in the range from 0 to 2 pi and it also provides the angle values ta and ta.&lt;/P&gt;
&lt;P&gt;The parameter "a"of this function is a vector of a_hoch values.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1765553673673.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132306i16D4830D8854421C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_1-1765553673673.png" alt="Werner_E_1-1765553673673.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="Werner_E_3-1765553900644.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132308i52A74A1612F60586/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_3-1765553900644.png" alt="Werner_E_3-1765553900644.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you compare the angles in alpha_corr with the ones in alpha you can see that they all lie in the range from 0 to 2pi, but we don't get a continuous curve if we plot them over a_hoch. Not sure if this is to be expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1765553996300.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132309iF497C81DF666B3EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_4-1765553996300.png" alt="Werner_E_4-1765553996300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This on contrary to "a_lang" which makes a nice continuous curve&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_5-1765554253127.png" style="width: 577px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132310i424B0B8E13BCE29D/image-dimensions/577x407?v=v2" width="577" height="407" role="button" title="Werner_E_5-1765554253127.png" alt="Werner_E_5-1765554253127.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Angles ta and tb also show extreme values&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1765554648718.png" style="width: 553px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132311iEA8C344AD26386A0/image-dimensions/553x220?v=v2" width="553" height="220" role="button" title="Werner_E_0-1765554648718.png" alt="Werner_E_0-1765554648718.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once we apply a similar correction as with alpha it looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1765554724971.png" style="width: 556px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132312iDD9DCDBE5EB7B6DB/image-dimensions/556x221?v=v2" width="556" height="221" role="button" title="Werner_E_1-1765554724971.png" alt="Werner_E_1-1765554724971.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 15:52:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047433#M219930</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-12-12T15:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047437#M219931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/66934"&gt;@Werner_E&lt;/a&gt;&amp;nbsp;Khoros says the issue is fully resolved so I will let them know some users are still seeing the issue. In the meantime, I posted about it &lt;A href="https://community.ptc.com/t5/PTC-Community-Feedback/Attachment-Issues/m-p/1047435#M2182" target="_blank" rel="noopener"&gt;here&lt;/A&gt; along with your workaround. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 15:54:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047437#M219931</guid>
      <dc:creator>AndrewK</dc:creator>
      <dc:date>2025-12-12T15:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047439#M219932</link>
      <description>&lt;P&gt;Hi Werner_E&lt;BR /&gt;Thanks for your answer. Have to look deeper into this problem.&lt;BR /&gt;I attached now the file as zip.&lt;BR /&gt;Maybe you or Terry could implement the solution to get the alpha values directly into my file. This would help a lot.&lt;BR /&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 16:01:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047439#M219932</guid>
      <dc:creator>andreas_lanter</dc:creator>
      <dc:date>2025-12-12T16:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047440#M219933</link>
      <description>&lt;P&gt;We had a similar problem with mcdx, xmcd, mcd and xmcdz files in the past when the forum switched over to Khoros. The problem took quite long to resolve and it was necessary to archive the files to be able to attach them for a long time :-(.&lt;BR /&gt;In the past we got an error message - something about an invalid file type. But now we don't get any error message at all, the file simply would not be attached.&lt;/P&gt;
&lt;P&gt;As far as I remember in the past some people were able to attach files directly, too. Can't really remember in detail but I think it had something to do with registry entries in the Windows installation of the user! You may be able to find some threads&amp;nbsp; dealing with the problem from that time.&lt;/P&gt;
&lt;P&gt;Thanks for caring!&lt;/P&gt;
&lt;P&gt;BTW, I would have expected the information in "Announcements", not in "Feedback". &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;But maybe it would be a good idea to have a separate section "Current News" for informations of this kind (also&amp;nbsp;expected downtime due to planned maintenance, etc.)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 16:45:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047440#M219933</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-12-12T16:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047442#M219934</link>
      <description>&lt;P&gt;I don't have Prime 7 installed, so you will have to retype from the pictures sent.&lt;/P&gt;
&lt;P&gt;What do you see when you evaluate MAX(365)?&lt;/P&gt;
&lt;P&gt;In Prime 11 I get using the sheet you posted&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1765555966713.png" style="width: 220px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132313iE58051B92E457B9B/image-dimensions/220x87?v=v2" width="220" height="87" role="button" title="Werner_E_0-1765555966713.png" alt="Werner_E_0-1765555966713.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find attached a pdf print of the file I used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 16:53:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047442#M219934</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-12-12T16:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047493#M219937</link>
      <description>&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;EM&gt;Curious enough it seems to work OK for some users like Terry, but not for users like you and me.&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I could not use the browse button on the attachment area, but could use drag and drop!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Terry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Dec 2025 00:29:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047493#M219937</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2025-12-13T00:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047504#M219938</link>
      <description>&lt;P&gt;Hmm, mysterious! I tried both&amp;nbsp;and none worked. No error message, just the file is not showing up.&lt;BR /&gt;Only Mathcad and Prime files are affected, PDF's and archive files work OK.&lt;/P&gt;
&lt;P&gt;We had a very similar problem (also Mathcad and Prime files and also with some users being able to upload) some years ago when the forum software was migrated to Khoros.&amp;nbsp;I sincerely hope that this time it won't take as long as it did back then to resolve the issue.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Dec 2025 02:19:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047504#M219938</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-12-13T02:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047506#M219939</link>
      <description>&lt;P&gt;I just opened your file in Prime 10 and also in Prime 9 (the oldest full version I have installed) and can say that the underlying numeric algorithm sure has been changed when going from P9 to P10.&lt;/P&gt;
&lt;P&gt;Prime 10 shows the very same results as shown above with Prime 11.&lt;/P&gt;
&lt;P&gt;But the results in Prime 9 (again just using your sheet) are completely different:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1765594704036.png" style="width: 238px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132328iA7C278F1FBE57CBC/image-dimensions/238x87?v=v2" width="238" height="87" role="button" title="Werner_E_0-1765594704036.png" alt="Werner_E_0-1765594704036.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Nonetheless the results are correct and lead to the very same value of a_lang.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Dec 2025 02:58:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047506#M219939</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-12-13T02:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a argument out of a optimisation (maximize) function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047512#M219940</link>
      <description>&lt;P&gt;I continued playing with the (P11) sheet and tried to get continuous values for the three angled involved.&lt;/P&gt;
&lt;P&gt;In a first step I turned the solve block into a function with the three guesses as additional arguments:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1765595809410.png" style="width: 497px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132329i4A27BD58ECD1137C/image-dimensions/497x284?v=v2" width="497" height="284" role="button" title="Werner_E_1-1765595809410.png" alt="Werner_E_1-1765595809410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then I modified my "makeData" function so that it uses your initial guesses just for the first value calculated and after that uses the results of the previous calculation as guess values for the next one. Doing so makes the solve block fail already for the second value (366). A bold fix was to add a small amount (0,001) to the alpha guess (not sure why this cured the problem.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1765595980843.png" style="width: 605px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132330i290B52563611DD7E/image-dimensions/605x236?v=v2" width="605" height="236" role="button" title="Werner_E_2-1765595980843.png" alt="Werner_E_2-1765595980843.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These modifications resulted in nice continuos angle values (in Prime 11)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1765596064364.png" style="width: 588px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132331iDC296085CACB6D53/image-dimensions/588x435?v=v2" width="588" height="435" role="button" title="Werner_E_3-1765596064364.png" alt="Werner_E_3-1765596064364.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;which of course is also shown in the plots (without any need to force the results to the interval [0; 2 pi).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1765596153029.png" style="width: 613px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/132332i2A68BC239CFCEB5F/image-dimensions/613x337?v=v2" width="613" height="337" role="button" title="Werner_E_4-1765596153029.png" alt="Werner_E_4-1765596153029.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may try in your Prime 7 if you can find initial guess values (maybe using values close to the ones seen in th efirst row of the table shown above) which give you the same results for MAX(365) as I had shown in Prime 11.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prime 11 file attached, for whatever it may be worth (maybe someone is able and willing to convert it into P7 format for you)&lt;/P&gt;
&lt;P&gt;EDIT: Arggh! Forgot to zip the file. Annoying! Hope the forum bug will be fixed soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Dec 2025 03:28:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-get-a-argument-out-of-a-optimisation-maximize-function/m-p/1047512#M219940</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-12-13T03:28:13Z</dc:date>
    </item>
  </channel>
</rss>

