<?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%3AMean</id>
	<title>TI-BASIC:Mean - 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%3AMean"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Mean&amp;action=history"/>
	<updated>2026-04-17T08:05:27Z</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:Mean&amp;diff=740&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:Mean&amp;diff=740&amp;oldid=prev"/>
		<updated>2016-02-24T18:16:14Z</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=MEAN.GIF&lt;br /&gt;
|summary=Finds the mean (the average) of a list.&lt;br /&gt;
|syntax=mean(&amp;#039;&amp;#039;list&amp;#039;&amp;#039;,[&amp;#039;&amp;#039;freqlist&amp;#039;&amp;#039;])&lt;br /&gt;
|location=Press:&lt;br /&gt;
# 2ND LIST to enter the LIST menu.&lt;br /&gt;
# LEFT to enter the MATH submenu.&lt;br /&gt;
# 3 to select mean(, or use arrows.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The mean( command finds the [http://en.wikipedia.org/wiki/Mean mean], or the average, of a list. It&amp;#039;s pretty elementary. It takes a list of real numbers as a parameter. For example:&lt;br /&gt;
&lt;br /&gt;
 :Prompt L1&lt;br /&gt;
 :Disp &amp;quot;MEAN OF L1&amp;quot;,mean(L1&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s not all, however. Awesome as the mean( command is, it can also take a frequency list argument, for situations when your elements occur more than once. For example:&lt;br /&gt;
&lt;br /&gt;
 :Disp mean({1,2,3},{5,4,4})&lt;br /&gt;
&lt;br /&gt;
is short for&lt;br /&gt;
&lt;br /&gt;
 :mean({1,1,1,1,1,2,2,2,2,3,3,3,3})&lt;br /&gt;
&lt;br /&gt;
The frequency list {5,4,4} means that the first element, 1, occurs 5 times, the second element, 2, occurs 4 times, and the third element, 3, occurs 4 times.&lt;br /&gt;
&lt;br /&gt;
= Advanced Uses =&lt;br /&gt;
&lt;br /&gt;
You can also use the frequency list version of mean( to calculate weighted averages. For example, suppose you&amp;#039;re trying to average grades in a class where homework is worth 50%, quizzes 20%, and tests 30%. You have a 90% average on homework, 75% on quizzes (didn&amp;#039;t study too well), but 95% average on tests. You can now calculate your grade with the mean( command:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 :mean({90,75,95},{50,20,30&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should get a 88.5 if you did everything right.&lt;br /&gt;
&lt;br /&gt;
Frequency lists don&amp;#039;t need to be whole numbers. Amazing as that may sound, your calculator can handle being told that one element of the list occurs 1/3 of a time, and another occurs 22.7 times. It can even handle a frequency of 0 - it will just ignore that element, as though it weren&amp;#039;t there. In particular, mean(L1,L2) is effectively equivalent to sum (L1*L2)/sum(L2).&lt;br /&gt;
&lt;br /&gt;
One caveat, though - if all of the elements occur 0 times, there&amp;#039;s nothing to take an average of and your calculator will throw an error.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#datatype|ERR:DATA TYPE]]&amp;#039;&amp;#039;&amp;#039; is thrown, among other cases, if the data list is complex, or if the frequencies are not all positive and real.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#dimmismatch|ERR:DIM MISMATCH]]&amp;#039;&amp;#039;&amp;#039; is thrown if the frequency list and the data list have a different number of elements.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#divideby0|ERR:DIVIDE BY 0]]&amp;#039;&amp;#039;&amp;#039; is thrown if the frequency list&amp;#039;s elements are all 0.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Median|median(]]&lt;br /&gt;
* [[TI-BASIC:Stddev|stdDev(]]&lt;br /&gt;
* [[TI-BASIC:Variance|variance(]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>