<?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: Definition of solve block as function in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238729#M93142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;Late but see an attach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 16:57:03 GMT</pubDate>
    <dc:creator>ValeryOchkov</dc:creator>
    <dc:date>2016-02-26T16:57:03Z</dc:date>
    <item>
      <title>Definition of solve block as function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238724#M93137</link>
      <description>Hi all,I have been using&amp;nbsp; MathCad Prime 3.1 for some weeks: I recently implemented a solve block in which I defined a system of ODEs with guess values and initial conditions: the solution is calculated via "odesolve" function. Since I need to have the time and initial conditions</description>
      <pubDate>Thu, 03 May 2018 14:39:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238724#M93137</guid>
      <dc:creator>dcavaiuolo</dc:creator>
      <dc:date>2018-05-03T14:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Definition of solve block as function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238725#M93138</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;Domenico Cavaiuolo wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have been using&amp;nbsp; MathCad Prime 3.1 for some weeks: I recently implemented a solve block in which I defined a system of ODEs with guess values and initial conditions: the solution is calculated via "odesolve" function. Since I need to have the time and initial conditions as parameters, I was wondering how to define the solve block as a function, in order to recall it wherever within my worksheet.&lt;/P&gt;
&lt;P&gt;Does anyone know how to do this?&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I haven't got Prime available on my current PC, but I think the same thing as shown below should work in Prime 3.1.&amp;nbsp; Import the M15 worksheet to see if it does!&amp;nbsp; Essentially, you define another function (that takes the time and initial conditions as arguments) that executes the solve block, and then call that function to solve the ODE system.&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/98650_pastedImage_1.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>Fri, 26 Feb 2016 11:12:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238725#M93138</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2016-02-26T11:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Definition of solve block as function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238726#M93139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a simpler version than Stuart's, but uses Prime (actually Prime 2, but should be the same in 3.1):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ode.PNG" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/98635_ode.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 11:22:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238726#M93139</guid>
      <dc:creator>AlanStevens</dc:creator>
      <dc:date>2016-02-26T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Definition of solve block as function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238727#M93140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, it works! I chose Alan's anwers since it's more relevant to topic discussion on MathCad Prime .&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Domenico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 12:49:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238727#M93140</guid>
      <dc:creator>dcavaiuolo</dc:creator>
      <dc:date>2016-02-26T12:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Definition of solve block as function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238728#M93141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Alan for the feedback!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Domenico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 12:50:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238728#M93141</guid>
      <dc:creator>dcavaiuolo</dc:creator>
      <dc:date>2016-02-26T12:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Definition of solve block as function</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238729#M93142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;Late but see an attach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:57:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Definition-of-solve-block-as-function/m-p/238729#M93142</guid>
      <dc:creator>ValeryOchkov</dc:creator>
      <dc:date>2016-02-26T16:57:03Z</dc:date>
    </item>
  </channel>
</rss>

