<?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 show all values of this variable? in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953833#M212266</link>
    <description>&lt;P&gt;You are using boolean equals so you can't expect them to have any effect.&lt;/P&gt;
&lt;P&gt;If your question is about the two boolean expressions you try to evaluate symbolically (why?) and which seems to take an infinite time - this is because you defined t as a range and the symbolics tries to evaluate your expressions using this implicit t-loop.&lt;/P&gt;
&lt;P&gt;You can "undefine" t with respect to the symbolics by writing t:=t and then you get a result&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1717348982956.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105601i2A3C03DE63E67362/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_0-1717348982956.png" alt="Werner_E_0-1717348982956.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But because you never defined the Wronski determinant (there is a difference between using := and the fat boolean = ) you just see W(t) in the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also doubt that an approximating&amp;nbsp; 'solution' using just a few summands of the Fourier series would be any better than the solution derived numerically by using odesolve. But then I may be proven wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jun 2024 17:26:41 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2024-06-02T17:26:41Z</dc:date>
    <item>
      <title>How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953604#M212226</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;How to show all the values of ic1(t). If I put iC1(1ms) for example the calculation is done, but I want to have a vector of all the values of iC1(t). Is it possible?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cornel_0-1717153852207.png" style="width: 764px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105541i54C78994D8204248/image-dimensions/764x837?v=v2" width="764" height="837" role="button" title="Cornel_0-1717153852207.png" alt="Cornel_0-1717153852207.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="Cornel_1-1717153966760.png" style="width: 695px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105542i9BBE7365516698CD/image-dimensions/695x399?v=v2" width="695" height="399" role="button" title="Cornel_1-1717153966760.png" alt="Cornel_1-1717153966760.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 11:20:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953604#M212226</guid>
      <dc:creator>Cornel</dc:creator>
      <dc:date>2024-05-31T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953612#M212228</link>
      <description>&lt;P&gt;A linear inhomogeneous ordinary differential equation of second order and its initial values ​​are given. Its closed-form solution is easily possible if the inhomogeneity vE(t) is given. Please state this. I will then try to answer in MC14.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 11:33:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953612#M212228</guid>
      <dc:creator>AlfredFlaßhaar</dc:creator>
      <dc:date>2024-05-31T11:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953726#M212236</link>
      <description>&lt;P&gt;Here you are:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1717194971745.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105560iA4016E1098480378/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1717194971745.png" alt="Werner_E_0-1717194971745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see the evaluation fails for the first and the last value of t.&lt;/P&gt;
&lt;P&gt;You are using numerical differentiation for a function derived with "odesolve" for arguments from 0s to t.end&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The algorithm used by Prime for this seems to use the function values ​​of arguments before and after the point in question. But in the result of a 'function' determined by "odesolve" there are no function values ​​for arguments before the first initial value of t (0 s) or after the last value (t.end). So the numerical derivative can't be calculated for these end values.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The evaluation should be possible without this problem using the function i.C1(t), which, as I have shown, is determined together with the others in the solution block.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 22:44:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953726#M212236</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-05-31T22:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953746#M212245</link>
      <description>&lt;P&gt;I would like to complete this task in the classic way. To do this, I need the function n vE(t) so that I can use it in MC14. There is a sentimental reason for my request: I remember my student days when easy exercises of this kind were stressful.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 06:58:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953746#M212245</guid>
      <dc:creator>AlfredFlaßhaar</dc:creator>
      <dc:date>2024-06-01T06:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953750#M212247</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/18929"&gt;@AlfredFlaßhaar&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I would like to complete this task in the classic way. To do this, I need the function n vE(t) so that I can use it in MC14. There is a sentimental reason for my request: I remember my student days when easy exercises of this kind were stressful.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;vE(t) is a simple square wave signal&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1717230570785.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105571i19010130A851222A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1717230570785.png" alt="Werner_E_0-1717230570785.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;similar to the one posted here&lt;A href="https://community.ptc.com/t5/Mathcad/Why-these-2-function-implementation-of-square-wave-does-not-have/m-p/953293#M212194" target="_blank" rel="noopener"&gt;&amp;nbsp; Why these 2 function implementation of square wave...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You also may use one of the alternatives I provided there (Tf = 1 ms,&amp;nbsp; Vmax = 10 V) or if its more convenient for you, you may also use a definition using the Heaviside function:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1717231381421.png" style="width: 554px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105572iDA708740E8D4A983/image-dimensions/554x108?v=v2" width="554" height="108" role="button" title="Werner_E_1-1717231381421.png" alt="Werner_E_1-1717231381421.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_2-1717231635894.png" style="width: 731px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105573iD6CE69DC2AE27E86/image-dimensions/731x223?v=v2" width="731" height="223" role="button" title="Werner_E_2-1717231635894.png" alt="Werner_E_2-1717231635894.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I guess that the periodic nature of the function vE will make deriving a closed form symbolic solution using the "classic way' to solve this 'easy exercise' somewhat difficult.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 08:49:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953750#M212247</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-06-01T08:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953785#M212250</link>
      <description>&lt;P&gt;Thank you very much! Yes, now it gets much more difficult. The inhomogeneity is a piecewise continuous periodic function. Let's see if a Fourier series for vE(t) helps?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 14:35:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953785#M212250</guid>
      <dc:creator>AlfredFlaßhaar</dc:creator>
      <dc:date>2024-06-01T14:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953792#M212251</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/18929"&gt;@AlfredFlaßhaar&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you very much! Yes, now it gets much more difficult. The inhomogeneity is a piecewise continuous periodic function. Let's see if a Fourier series for vE(t) helps?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You sure can get an approximation that way.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1717256519761.png" style="width: 692px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105589i5555AE4CF37C5884/image-dimensions/692x417?v=v2" width="692" height="417" role="button" title="Werner_E_2-1717256519761.png" alt="Werner_E_2-1717256519761.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best wishes for your efforts!&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 15:42:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953792#M212251</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-06-01T15:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953796#M212252</link>
      <description>&lt;P&gt;The Laplace transform of a square wave with amplitude A and period T is&lt;/P&gt;
&lt;P&gt;A*tanh(s*T/4)/s.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Success!&lt;/P&gt;
&lt;P&gt;Luc&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 17:56:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953796#M212252</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2024-06-01T17:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953827#M212265</link>
      <description>&lt;P&gt;I have known about this series expansion for a long time. I have attached the status of solving the ODE "closed". Apparently I am doing something wrong in the symbolic evaluation or MC14 is overwhelmed. Even with just one Fourier summand, MC fails. But the solution is actually quite simple. I would like some advice.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2024 15:31:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953827#M212265</guid>
      <dc:creator>AlfredFlaßhaar</dc:creator>
      <dc:date>2024-06-02T15:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953833#M212266</link>
      <description>&lt;P&gt;You are using boolean equals so you can't expect them to have any effect.&lt;/P&gt;
&lt;P&gt;If your question is about the two boolean expressions you try to evaluate symbolically (why?) and which seems to take an infinite time - this is because you defined t as a range and the symbolics tries to evaluate your expressions using this implicit t-loop.&lt;/P&gt;
&lt;P&gt;You can "undefine" t with respect to the symbolics by writing t:=t and then you get a result&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1717348982956.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105601i2A3C03DE63E67362/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_0-1717348982956.png" alt="Werner_E_0-1717348982956.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But because you never defined the Wronski determinant (there is a difference between using := and the fat boolean = ) you just see W(t) in the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also doubt that an approximating&amp;nbsp; 'solution' using just a few summands of the Fourier series would be any better than the solution derived numerically by using odesolve. But then I may be proven wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2024 17:26:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953833#M212266</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-06-02T17:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953917#M212274</link>
      <description>&lt;P&gt;Thank you for your advice, I have tried to incorporate it. Now I am stuck with the calculation of u(t) at the end of the attached file and would like to ask for help again.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 10:17:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953917#M212274</guid>
      <dc:creator>AlfredFlaßhaar</dc:creator>
      <dc:date>2024-06-03T10:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953938#M212277</link>
      <description>&lt;P&gt;I did not bother to modify the sheet you posted earlier (exchanging the = for := and whatever may be necessary additionally) but chances are that Mathcad is not capable enough to evaluate the involved integrals!?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 11:13:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953938#M212277</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-06-03T11:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953957#M212283</link>
      <description>&lt;P&gt;Sorry, I forgot to attach the file. Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 12:07:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953957#M212283</guid>
      <dc:creator>AlfredFlaßhaar</dc:creator>
      <dc:date>2024-06-03T12:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953973#M212285</link>
      <description>&lt;P&gt;Here you are.&lt;/P&gt;
&lt;P&gt;I made n a global variable so I can define it at the end.&lt;/P&gt;
&lt;P&gt;Here the result for n=5. Feel free to set higher values if you dare &lt;span class="lia-unicode-emoji" title=":winking_face:"&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_0-1717418134443.png" style="width: 595px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/105638i56B094D968A96E18/image-dimensions/595x630?v=v2" width="595" height="630" role="button" title="Werner_E_0-1717418134443.png" alt="Werner_E_0-1717418134443.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The symbolic results (large sums) are so large that Mathcad refuses to display them, but nonetheless you can use them in further calculations, plots, etc.&lt;/P&gt;
&lt;P&gt;I also changed vhom(t) to vhom1(t), because you never have defined a function vhom in your sheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its up to &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/300363"&gt;@Cornel&lt;/a&gt;&amp;nbsp; to decide if an approximation of that kind is helpful for him.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 12:37:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953973#M212285</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-06-03T12:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all values of this variable?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953984#M212288</link>
      <description>&lt;P&gt;Thank you very much. It is not my intention to make suggestions to Cornel on this task. Rather, I am trying to enjoy my age-appropriate thinking.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 12:47:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-show-all-values-of-this-variable/m-p/953984#M212288</guid>
      <dc:creator>AlfredFlaßhaar</dc:creator>
      <dc:date>2024-06-03T12:47:49Z</dc:date>
    </item>
  </channel>
</rss>

