<?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%3AMath_Program</id>
	<title>TI-BASIC:Math Program - 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%3AMath_Program"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Math_Program&amp;action=history"/>
	<updated>2026-04-21T14:18:22Z</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:Math_Program&amp;diff=1137&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:Math_Program&amp;diff=1137&amp;oldid=prev"/>
		<updated>2016-02-24T18:36:33Z</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;&amp;gt; &amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; This page was originally created by AtionSong on the TI-Basic wiki, and has been added here because TI-Basic wiki is in the process of being merged with this wiki. In addition to this page, only those pages which weren&amp;#039;t already duplicated on this wiki were added.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Math Programs&amp;#039;&amp;#039;&amp;#039; are programs made to perform mathematic calculations or perform other functions. TI-BASIC is capable of creating programs to perform virtually any mathematical function.&lt;br /&gt;
&lt;br /&gt;
== Program ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Needed Commands:&amp;#039;&amp;#039;&amp;#039; [[TI-BASIC:Store|→]], [[TI-BASIC:Input|Input]], [[TI-BASIC:Output|Output(]], [[TI-BASIC:Clrhome|ClrHome]]&lt;br /&gt;
&lt;br /&gt;
For our example, we are going to make a simple program that will peform the quadratic equation. In other words, when the A, B, and C variables from a quadratic equation are inputed, it will solve for X. We start with the familiar quadratic equation:&lt;br /&gt;
&lt;br /&gt;
 PROGRAM:QUADRAT&lt;br /&gt;
 :(-B+√(B²-4AC))/(2A→X&lt;br /&gt;
 :(-B-√(B²-4AC))/(2A→Y&lt;br /&gt;
&lt;br /&gt;
Notice that because there is no +/- symbol in TI-BASIC, you must create two separate equations in case the solution is negative. The rest of the program is fairly simple.&lt;br /&gt;
&lt;br /&gt;
 :ClrHome&lt;br /&gt;
 :Output(1,1,&amp;quot;QUADRATIC EQUATE&lt;br /&gt;
 :Output(2,1,&amp;quot;----------------&lt;br /&gt;
 :Input &amp;quot;A=&amp;quot;,A&lt;br /&gt;
 :Input &amp;quot;B=&amp;quot;,B&lt;br /&gt;
 :Input &amp;quot;C=&amp;quot;,C&lt;br /&gt;
 :ClrHome&lt;br /&gt;
 :Output(1,1,&amp;quot;X=&lt;br /&gt;
 :Output(1,3,X&lt;br /&gt;
 :Output(2,1,&amp;quot;OR&lt;br /&gt;
 :Output(2,3,Y&lt;br /&gt;
&lt;br /&gt;
With only these 13 lines of code, you have created a very powerful program that can save you a lot of time. Math programs can be created to do a wide array of tasks, including:&lt;br /&gt;
&lt;br /&gt;
* Do conversions from Metric to English measurements&lt;br /&gt;
* Solve equations that come up a lot (much like the Quadratic Equation)&lt;br /&gt;
* Quickly find the average in a set of numbers[[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>