<?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%3AFmax</id>
	<title>TI-BASIC:Fmax - 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%3AFmax"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Fmax&amp;action=history"/>
	<updated>2026-04-17T21:17:10Z</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:Fmax&amp;diff=1467&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:Fmax&amp;diff=1467&amp;oldid=prev"/>
		<updated>2016-02-24T22:24:49Z</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-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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;}}&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;}}&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;fMax(&#039;&#039;f&#039;&#039;(&#039;&#039;var&#039;&#039;),&#039;&#039;var&#039;&#039;,&#039;&#039;lo&#039;&#039;,&#039;&#039;hi&#039;&#039;[,&#039;&#039;tol&#039;&#039;]) finds the value of &#039;&#039;var&#039;&#039; between &#039;&#039;lo&#039;&#039; and &#039;&#039;hi&#039;&#039; at which the maximum of &#039;&#039;f&#039;&#039;(&#039;&#039;var&#039;&#039;) occurs. &#039;&#039;tol&#039;&#039; controls the accuracy of the maximum value computed. The default value of &#039;&#039;tol&#039;&#039; is 10&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;^^&lt;/del&gt;-5&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;^^&lt;/del&gt;.&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;fMax(&#039;&#039;f&#039;&#039;(&#039;&#039;var&#039;&#039;),&#039;&#039;var&#039;&#039;,&#039;&#039;lo&#039;&#039;,&#039;&#039;hi&#039;&#039;[,&#039;&#039;tol&#039;&#039;]) finds the value of &#039;&#039;var&#039;&#039; between &#039;&#039;lo&#039;&#039; and &#039;&#039;hi&#039;&#039; at which the maximum of &#039;&#039;f&#039;&#039;(&#039;&#039;var&#039;&#039;) occurs. &#039;&#039;tol&#039;&#039; controls the accuracy of the maximum value computed. The default value of &#039;&#039;tol&#039;&#039; is 10&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;sup&amp;gt;&lt;/ins&gt;-5&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/sup&amp;gt;&lt;/ins&gt;.&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;fMax( only works for real numbers and expressions. Brent&amp;#039;s method for optimization is used for approximating the maximum value.&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;fMax( only works for real numbers and expressions. Brent&amp;#039;s method for optimization is used for approximating the maximum value.&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:Fmax&amp;diff=959&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:Fmax&amp;diff=959&amp;oldid=prev"/>
		<updated>2016-02-24T18:27:22Z</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=FMAX.GIF&lt;br /&gt;
|summary=Calculates the local maximum of a function.&lt;br /&gt;
|syntax=fMax(&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;var&amp;#039;&amp;#039;),&amp;#039;&amp;#039;var&amp;#039;&amp;#039;,&amp;#039;&amp;#039;lo&amp;#039;&amp;#039;,&amp;#039;&amp;#039;hi&amp;#039;&amp;#039;[,&amp;#039;&amp;#039;tol&amp;#039;&amp;#039;])&lt;br /&gt;
|location=While editing a program, press:&lt;br /&gt;
# MATH to open the [[TI-BASIC:Math|Math]] menu&lt;br /&gt;
# 7 or use arrow keys to select&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
fMax(&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;var&amp;#039;&amp;#039;),&amp;#039;&amp;#039;var&amp;#039;&amp;#039;,&amp;#039;&amp;#039;lo&amp;#039;&amp;#039;,&amp;#039;&amp;#039;hi&amp;#039;&amp;#039;[,&amp;#039;&amp;#039;tol&amp;#039;&amp;#039;]) finds the value of &amp;#039;&amp;#039;var&amp;#039;&amp;#039; between &amp;#039;&amp;#039;lo&amp;#039;&amp;#039; and &amp;#039;&amp;#039;hi&amp;#039;&amp;#039; at which the maximum of &amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;var&amp;#039;&amp;#039;) occurs. &amp;#039;&amp;#039;tol&amp;#039;&amp;#039; controls the accuracy of the maximum value computed. The default value of &amp;#039;&amp;#039;tol&amp;#039;&amp;#039; is 10^^-5^^.&lt;br /&gt;
&lt;br /&gt;
fMax( only works for real numbers and expressions. Brent&amp;#039;s method for optimization is used for approximating the maximum value.&lt;br /&gt;
&lt;br /&gt;
 fMax(sin(X)cos(X),X,0,3)&lt;br /&gt;
 		.7853995667&lt;br /&gt;
&lt;br /&gt;
Keep in mind that the result is the value of &amp;#039;&amp;#039;var&amp;#039;&amp;#039;, and not the value of &amp;#039;&amp;#039;f(var)&amp;#039;&amp;#039;. In this example, .7853995667 is not the highest possible value of sin(X)cos(X), but rather the X-value at which sin(X)cos(X) is the highest.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#bound|ERR:BOUND]]&amp;#039;&amp;#039;&amp;#039; is thrown if the lower bound is greater than the upper bound.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#domain|ERR:DOMAIN]]&amp;#039;&amp;#039;&amp;#039; is thrown if &amp;#039;&amp;#039;tol&amp;#039;&amp;#039; is 0.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#tolnotmet|ERR:TOL NOT MET]]&amp;#039;&amp;#039;&amp;#039; is thrown if the tolerance is too small for this specific function.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Fmin|FMin(]]&lt;br /&gt;
* [[TI-BASIC:Fnint|FnInt(]]&lt;br /&gt;
* [[TI-BASIC:Nderiv|NDeriv(]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>