<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ATangent</id>
	<title>TI-BASIC:Tangent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ATangent"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Tangent&amp;action=history"/>
	<updated>2026-04-19T19:21:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Tangent&amp;diff=1452&amp;oldid=prev</id>
		<title>Maintenance script: Automated superscript correction</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Tangent&amp;diff=1452&amp;oldid=prev"/>
		<updated>2016-02-24T22:24:18Z</updated>

		<summary type="html">&lt;p&gt;Automated superscript correction&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:24, 24 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Tangent( command draws a graph of an expression and then draws a line tangent to that expression, with the line touching the graph at the point of the specified value. You can either use a [[TI-BASIC:System_Variables#equation|equation variable]] (such as Y,,1,,) or an expression in terms of X (such as X²). Though you can use equation variables from any [[TI-BASIC:Graphing_Mode|Graphing_Mode]], they will be treated as functions in terms of X. Tangent( also ignores the graphing mode currently selected.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Tangent( command draws a graph of an expression and then draws a line tangent to that expression, with the line touching the graph at the point of the specified value. You can either use a [[TI-BASIC:System_Variables#equation|equation variable]] (such as Y,,1,,) or an expression in terms of X (such as X²). Though you can use equation variables from any [[TI-BASIC:Graphing_Mode|Graphing_Mode]], they will be treated as functions in terms of X. Tangent( also ignores the graphing mode currently selected.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here is a simple example, where we are graphing the [wikipedia:parabola parabola] X&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;^^&lt;/del&gt;2&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;^^ &lt;/del&gt;and then drawing a tangent line at the value X=2.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here is a simple example, where we are graphing the [wikipedia:parabola parabola] X&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;sup&amp;gt;&lt;/ins&gt;2&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/sup&amp;gt; &lt;/ins&gt;and then drawing a tangent line at the value X=2.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  :&amp;quot;X²→Y₁&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  :&amp;quot;X²→Y₁&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Tangent&amp;diff=867&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Tangent&amp;diff=867&amp;oldid=prev"/>
		<updated>2016-02-24T18:22:41Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=TANGENT.GIF&lt;br /&gt;
|summary=Draws a line tangent to an expression at the specified value.&lt;br /&gt;
|syntax=Tangent(&amp;#039;&amp;#039;expression&amp;#039;&amp;#039;,&amp;#039;&amp;#039;value&amp;#039;&amp;#039;)&lt;br /&gt;
|location=Press:&lt;br /&gt;
# 2nd PRGM to access the draw menu.&lt;br /&gt;
# 5 to select Tangent(, or use arrows and ENTER.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The Tangent( command draws a graph of an expression and then draws a line tangent to that expression, with the line touching the graph at the point of the specified value. You can either use a [[TI-BASIC:System_Variables#equation|equation variable]] (such as Y,,1,,) or an expression in terms of X (such as X²). Though you can use equation variables from any [[TI-BASIC:Graphing_Mode|Graphing_Mode]], they will be treated as functions in terms of X. Tangent( also ignores the graphing mode currently selected.&lt;br /&gt;
&lt;br /&gt;
Here is a simple example, where we are graphing the [wikipedia:parabola parabola] X^^2^^ and then drawing a tangent line at the value X=2.&lt;br /&gt;
&lt;br /&gt;
 :&amp;quot;X²→Y₁&lt;br /&gt;
 :Tangent(Y₁,2&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 :Tangent(X²,2&lt;br /&gt;
&lt;br /&gt;
= Advanced Uses =&lt;br /&gt;
&lt;br /&gt;
Whether the graph shows up or not is dependent on the window dimensions of the graph screen, and you should use a [[TI-BASIC:Friendly_Window|friendly window]] to ensure it shows up as you intended.&lt;br /&gt;
&lt;br /&gt;
------&lt;br /&gt;
&lt;br /&gt;
Tangent( will update X and Y for each coordinate drawn (like [[TI-BASIC:Drawf|DrawF]] and [[TI-BASIC:Drawinv|DrawInv]]), and exit with the last coordinate still stored.&lt;br /&gt;
&lt;br /&gt;
------&lt;br /&gt;
&lt;br /&gt;
When evaluating the expression using Tangent(, the calculator will ignore the following errors: [[TI-BASIC:Errors#datatype|ERR:DATA TYPE]], [[TI-BASIC:Errors#divideby0|ERR:DIVIDE BY 0]], [[TI-BASIC:Errors#domain|ERR:DOMAIN]], [[TI-BASIC:Errors#increment|ERR:INCREMENT]], [[TI-BASIC:Errors#nonrealans|ERR:NONREAL ANS]], [[TI-BASIC:Errors#overflow|ERR:OVERFLOW]], and [[TI-BASIC:Errors#singularmat|ERR:SINGULAR MAT]]. If one of these errors occurs, the data point will be omitted. However, the errors will still be thrown if they occur when evaluating the function &amp;#039;&amp;#039;at&amp;#039;&amp;#039; the point of tangency.&lt;br /&gt;
&lt;br /&gt;
------&lt;br /&gt;
&lt;br /&gt;
Using [[TI-BASIC:Ans|Ans]] as an optimization for storing to an equation will not work. For example, the following code returns [[TI-BASIC:Errors#datatype|ERR:DATA TYPE]] because Ans is a string, not an equation variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 :&amp;quot;X²&lt;br /&gt;
 :Tangent(Ans,2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of course, you &amp;#039;&amp;#039;can&amp;#039;&amp;#039; use Ans in the equation, if it&amp;#039;s a real number, but that&amp;#039;s usually not as useful.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#invalid|ERR:INVALID]]&amp;#039;&amp;#039;&amp;#039; is thrown if you try to use an equation variable that is undefined.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Drawf|DrawF]]&lt;br /&gt;
* [[TI-BASIC:Drawinv|DrawInv]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>