<?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: Tangent Line extrapolation from a known point on cuve in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451207#M69813</link>
    <description>&lt;P&gt;The curve will be similar to the picture below, the point where the blue line originates is the critical point for the tangent line to be extrapolated to horizontal axis.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this makes sense&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dr_d_0-1642104784035.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38972i0EF9BA7D7E9BB0F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dr_d_0-1642104784035.png" alt="dr_d_0-1642104784035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 20:16:12 GMT</pubDate>
    <dc:creator>dr_d</dc:creator>
    <dc:date>2022-01-13T20:16:12Z</dc:date>
    <item>
      <title>Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451166#M69810</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Hope someone can help me resolve this calculation.&amp;nbsp; I have hundreds of curves each being different.&amp;nbsp; I calculated a critical point on each of the curves, from this point, I need to extrapolate perhaps using a tangent line to the horizontal axis and have that value recorded.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:21:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451166#M69810</guid>
      <dc:creator>dr_d</dc:creator>
      <dc:date>2023-06-11T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451205#M69812</link>
      <description>&lt;P&gt;What kind of curves? What is their equation? What are the values for the parameters in the model equation? Can you use the derivative of the curve to calculate the tangent to the critical point? And is 'perhaps' a statement of your confidence in this approach?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 19:59:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451205#M69812</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-01-13T19:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451207#M69813</link>
      <description>&lt;P&gt;The curve will be similar to the picture below, the point where the blue line originates is the critical point for the tangent line to be extrapolated to horizontal axis.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this makes sense&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dr_d_0-1642104784035.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38972i0EF9BA7D7E9BB0F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dr_d_0-1642104784035.png" alt="dr_d_0-1642104784035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 20:16:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451207#M69813</guid>
      <dc:creator>dr_d</dc:creator>
      <dc:date>2022-01-13T20:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451569#M69827</link>
      <description>&lt;P&gt;It looks like you are hunting for the linear portion of the curve and then estimating the x-intercept.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 15:56:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451569#M69827</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-01-14T15:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451590#M69831</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes, I have hundreds of these curves and all being different would be nice to automate those x-intercepts.&amp;nbsp; I can probably calculate the linear slope using a point above and a point below in the array, then plot that line an record the value for the x-intercept...I'm just having a hard time conceptualizing that in JMP, I was able to do it VB but if JMP can do it will be much easier for the next set of evaluations.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 17:41:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451590#M69831</guid>
      <dc:creator>dr_d</dc:creator>
      <dc:date>2022-01-14T17:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451597#M69832</link>
      <description>&lt;P&gt;Using the JSL function called Linear Regression(), it should be easy to move the X and Y data that is right of the critical point, and to retrieve the intercept.&amp;nbsp; Look into the Scripting Index for Linear Regression.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1642183829191.png" style="width: 695px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39001i58C9DABE3B8565A4/image-dimensions/695x525?v=v2" width="695" height="525" role="button" title="txnelson_0-1642183829191.png" alt="txnelson_0-1642183829191.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 18:10:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451597#M69832</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-01-14T18:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451750#M69842</link>
      <description>&lt;P&gt;Take a look at the table script I put into a data table I made up for this problem.&lt;/P&gt;&lt;P&gt;You probably don't need the interactivity but it should give you an idea for solving the intercept based on a critical point selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main solution in in the graph script:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;selected_rows = Current Data Table() &amp;lt;&amp;lt; Get Selected Rows();
If( N Items( selected_rows ) &amp;gt; 0,
	Current Data Table() &amp;lt;&amp;lt; Clear Row States();
	critical_row = selected_rows[1, 0][1];
	Current Data Table() &amp;lt;&amp;lt; Select Rows( critical_row );
	Current Data Table() &amp;lt;&amp;lt; Colors( "Red" );
	Current Data Table() &amp;lt;&amp;lt; Clear Select();
);
Try(
	x_prev = :X[critical_row - 1];
	x_crit = :X[critical_row];
	y_prev = :Y[critical_row - 1];
	y_crit = :Y[critical_row];
	slope = (y_crit - y_prev) / (x_crit - x_prev);
	x_intercept = x_crit - y_crit / slope;
	Y Function( slope * (a - x_intercept), a );
	Marker( Marker State( 2 ), {x_intercept, 0} );
	Text( {x_intercept, 0}, Eval Insert( "  intercept = ^x_intercept^" ) );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Jan 2022 23:53:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451750#M69842</guid>
      <dc:creator>burakbagdatli</dc:creator>
      <dc:date>2022-01-14T23:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451916#M69868</link>
      <description>&lt;P&gt;thanks, I look into this further&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 16:21:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451916#M69868</guid>
      <dc:creator>dr_d</dc:creator>
      <dc:date>2022-01-17T16:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tangent Line extrapolation from a known point on cuve</title>
      <link>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451917#M69869</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This is really elegant, it worked great for a single curve, I just need to figure out how to implement to multiple curves.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 16:22:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tangent-Line-extrapolation-from-a-known-point-on-cuve/m-p/451917#M69869</guid>
      <dc:creator>dr_d</dc:creator>
      <dc:date>2022-01-17T16:22:48Z</dc:date>
    </item>
  </channel>
</rss>

