<?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 Is it possible to solve differential equations in JMP ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18534#M16886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I would like to know if it is possible to solve differential equations in JMP ? If yes - can you please post an example showing how to do it or provide any blog posts that explain this ? If no - can some one explain why not&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : I do not wish to invoke Matlab to achieve this . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best &lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 May 2016 05:08:46 GMT</pubDate>
    <dc:creator>uday_guntupalli</dc:creator>
    <dc:date>2016-05-15T05:08:46Z</dc:date>
    <item>
      <title>Is it possible to solve differential equations in JMP ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18534#M16886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I would like to know if it is possible to solve differential equations in JMP ? If yes - can you please post an example showing how to do it or provide any blog posts that explain this ? If no - can some one explain why not&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : I do not wish to invoke Matlab to achieve this . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best &lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 05:08:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18534#M16886</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2016-05-15T05:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to solve differential equations in JMP ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18535#M16887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;There is a section in the JSL Scripting Guide&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help==&amp;gt;Books==&amp;gt;Scripting Guide&lt;/P&gt;&lt;P&gt;that deals with the calculation of derivatives.&amp;nbsp; In the JMP 12 Scripting Guide, it starts on page 265.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 14:45:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18535#M16887</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-05-15T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to solve differential equations in JMP ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18536#M16888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are at least two ways to calculate a derivative or at least save the formula for the first derivative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first way you need to save a formula or create a formula column.&amp;nbsp; To take the derivative go to the column of interest, right click on the column header and then click Formula.&amp;nbsp; When the formula editor opens you will see the formula and you must select which variable you want to take your derivative with respect to.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11558_pastedImage_1.png" style="width: 833px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3061i884FA67EA832C904/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11558_pastedImage_1.png" alt="11558_pastedImage_1.png" /&gt;&lt;/span&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11559_pastedImage_2.png" style="width: 835px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3062iB74EF491D11B2BD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11559_pastedImage_2.png" alt="11559_pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second way is in the nonlinear platform.&amp;nbsp; You again need to create a model, but instead of saving the prediction formula you will save the formula for the first derivative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11560_pastedImage_3.png" style="width: 792px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3063iB1B91054F3157589/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11560_pastedImage_3.png" alt="11560_pastedImage_3.png" /&gt;&lt;/span&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11561_pastedImage_4.png" style="width: 886px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3064iB86257E36C59C568/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11561_pastedImage_4.png" alt="11561_pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also specify that you want second derivatives and/or numeric only derivatives in the nonlinear platform model dialogue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 02:39:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18536#M16888</guid>
      <dc:creator>Bill_Worley</dc:creator>
      <dc:date>2016-10-19T02:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to solve differential equations in JMP ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18537#M16889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;JSL has a derivative function.&amp;nbsp; I've forgotten all my calculus, so I can't explain the last three terms, but I made a small test harness, and it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;// make a really ugly formula &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;fx = Expr(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; A * x ^ W + B * x ^ Z + C * x + D * Sin( E * x ) + F * x * Log( G * x ) + Tan( x ) * Exp( x )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;// ask JMP to find the derivative with respect to x.&amp;nbsp; p for prime. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;fxp = Derivative( Name Expr( fx ), x );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;W * x ^ (W - 1) * A &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;+ Z * x ^ (Z - 1) * B &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;+ C &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;+ E * Cosine( E * x ) * D &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;+ F * &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Log( G * x ) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;+ G / (G * x) * F * x&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;+ 1 / Cosine( x ) ^ 2 * Exp( x ) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;+ Exp( x ) * &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;Tan( x )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Test harness:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;A = 3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;B = 4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;C = 5;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;D = 6;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;E = 7;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;F = 8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;G = 9;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;W = 10;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Z = 11;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;// do a small test at some point, "center"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;center = 7;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;// evaluate the original formula to calculate the slope on a small interval&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;interval = .0000001;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;halfinterval = interval / 2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;x = center - halfinterval;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;y1 = fx; // low side of center&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;x = center + halfinterval;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;y2 = fx; // high side of center&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;slope = (y2 - y1) / interval; // approximate derivative&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Write( "\!nslope: " || Char( slope ) );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;x = center; // midpoint &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;yd = fxp; // exact derivative&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Write( "\!nderivative: " || Char( yd ) );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;Write( "\!npercent error: " || Char( 100 * (slope - yd) / ((slope + yd) / 2) ) );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;slope: 13639522056.5796&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;derivative: 13639522109.8688&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;percent error: -0.000000390696846545&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pretty steep!&amp;nbsp; centers much closer to zero are less steep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 14:21:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-solve-differential-equations-in-JMP/m-p/18537#M16889</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-05-16T14:21:16Z</dc:date>
    </item>
  </channel>
</rss>

