Lucas Kent e39465ad2f Changes to be committed:
new file:   Files/flashplayer_32_sa.exe
	new file:   favicon.ico
	new file:   globe.gif
	new file:   imgs/download.png
	new file:   imgs/zuck.jpg
	new file:   index.html
	new file:   other.ico
	new file:   script.js
	new file:   site.webmanifest
	new file:   sitemap.html
	new file:   styles/backround.css
	new file:   styles/border.css
	new file:   styles/fonts/Titillium_Web/OFL.txt
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf
	new file:   styles/fonts/webfontkit-20221027-163353/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2
	new file:   styles/fonts/webfontkit-20221027-165950/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2
	new file:   styles/style.css
	new file:   tools/2048/.gitignore
	new file:   tools/2048/.jshintrc
	new file:   tools/2048/CONTRIBUTING.md
	new file:   tools/2048/LICENSE.txt
	new file:   tools/2048/README.md
	new file:   tools/2048/Rakefile
	new file:   tools/2048/favicon.ico
	new file:   tools/2048/index.html
	new file:   tools/2048/js/animframe_polyfill.js
	new file:   tools/2048/js/application.js
	new file:   tools/2048/js/bind_polyfill.js
	new file:   tools/2048/js/classlist_polyfill.js
	new file:   tools/2048/js/game_manager.js
	new file:   tools/2048/js/grid.js
	new file:   tools/2048/js/html_actuator.js
	new file:   tools/2048/js/keyboard_input_manager.js
	new file:   tools/2048/js/local_storage_manager.js
	new file:   tools/2048/js/tile.js
    new file:   tools/2048/meta/apple-touch-icon.png
	new file:   tools/webretro/cores/neocd_libretro.js
	new file:   tools/webretro/cores/neocd_libretro.wasm
	new file:   tools/webretro/cores/nestopia_libretro.js
	new file:   tools/webretro/cores/nestopia_libretro.wasm
	new file:   tools/webretro/cores/o2em_libretro.js
	new file:   tools/webretro/cores/o2em_libretro.wasm
	new file:   tools/webretro/cores/opera_libretro.js
	new file:   tools/webretro/cores/opera_libretro.wasm
2022-11-02 08:40:01 -04:00

122 lines
6.2 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="en"><!-- #BeginTemplate "/Templates/Main.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/numbers/harmonic-mean.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:41:53 GMT -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>Harmonic Mean</title>
<meta name="description" content="Math explained in easy language, plus puzzles, games, quizzes, videos and worksheets. For K-12 kids, teachers and parents." />
<!-- #EndEditable -->
<meta name="keywords" content="math, maths, mathematics, school, homework, education">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="HandheldFriendly" content="true">
<meta http-equiv="pics-label" content='(PICS-1.1 "http://www.classify.org/safesurf/" L gen true for "http://www.mathsisfun.com" r (SS~~000 1))'>
<meta name="referrer" content="always">
<link rel="stylesheet" type="text/css" href="../style3.css" />
<script src="../main3.js" type="text/javascript"></script>
</head>
<body id="bodybg">
<div class="bg">
<div id="stt"></div>
<div id="hdr"></div>
<div id="logo"><a href="../index.html"><img src="../images/style/logo.svg" alt="Math is Fun" /></a></div>
<div id="gtran"><script type="text/javascript">document.write(getTrans());</script></div>
<div id="gplus"><script type="text/javascript">document.write(getGPlus());</script></div>
<div id="adTopOuter" class="centerfull noprint">
<div id="adTop">
<script type="text/javascript">document.write(getAdTop());</script>
</div>
</div>
<div id="adHide">
<div id="showAds1"><a href="javascript:showAds()">Show Ads</a></div>
<div id="hideAds1"><a href="javascript:hideAds()">Hide Ads</a><br>
<a href="../about-ads.html">About Ads</a></div>
</div>
<div id="menuWide" class="menu">
<script type="text/javascript">document.write(getMenu(0));</script>
</div>
<div id="linkto">
<div id="linktort"><script type="text/javascript">document.write(getLinks());</script></div>
</div>
<div id="search" role="search"><script type="text/javascript">document.write(getSearch());</script></div>
<div id="menuSlim" class="menu">
<script type="text/javascript">document.write(getMenu(1));</script>
</div>
<div id="menuTiny" class="menu">
<script type="text/javascript">document.write(getMenu(2));</script>
</div>
<div id="extra"></div>
</div>
<div id="content" role="main"><!-- #BeginEditable "Body" -->
<h1>Harmonic Mean</h1>
<p>The harmonic mean is:</p>
<p class="center larger">the reciprocal of the average of the reciprocals</p>
<p>Yes, that is a lot of reciprocals!</p>
<p><a href="../reciprocal.html">Reciprocal</a> just means <span class="intbl"><em>1</em><strong>value</strong></span>.</p>
<p>The formula is:</p>
<p class="center"><img src="images/harmonic-mean.svg" alt="Harmonic Mean"></p>
<p>Where <b>a,b,c,...</b> are the values, and <b>n</b> is how many values.</p>
<p>Steps: </p>
<ul>
<li>Calculate the reciprocal (1/value) for every value.</li>
<li>Find the average of those reciprocals (just add them and divide by how many there are)</li>
<li>Then do the reciprocal of that average (=1/average)</li>
</ul>
<div class="example">
<h3>Example: What is the harmonic mean of 1, 2 and 4?</h3>
<p>The reciprocals of 1, 2 and 4 are:</p>
<p class="center"><span class="intbl"><em>1</em><strong>1</strong></span> = 1, &nbsp;
<span class="intbl"><em>1</em><strong>2</strong></span> = 0.5, &nbsp;
<span class="intbl"><em>1</em><strong>4</strong></span> = 0.25
</p>
<p>Now add them up:</p>
<p class="center">1 + 0.5 + 0.25 = 1.75</p>
<p>Divide by how many:</p>
<p class="center">Average = <span class="intbl"><em>1.75</em><strong>3</strong></span></p>
<p>The reciprocal of that average is our answer:</p>
<p class="center">Harmonic Mean = <span class="intbl"><em>3</em><strong>1.75</strong></span> = <b>1.714</b> (to 3 places) </p>
</div>
<h2>Why</h2>
<p>In <i>some</i> rate type questions the harmonic mean gives the true answer!</p>
<div class="example">
<h3>Example: we travel 10 km at 60 km/h, than another 10 km at 20 km/h, what is our average speed?</h3>
<p class="center">Harmonic mean = 2/(<span class="intbl"><em>1</em><strong>60</strong></span> + <span class="intbl"><em>1</em><strong>20</strong></span>) = <b>30 km/h</b></p>
<p>Check: the 10 km at 60 km/h takes 10 minutes, the 10 km at 20 km/h takes 30 minutes, so the total 20 km takes 40 minutes, which is 30 km per hour</p>
</div>
<p>The harmonic mean is also good at handling large <a href="../data/outliers.html">outliers</a>.
</p>
<div class="example">
<h3>Example: 2, 4, 6 and 100</h3>
<p>The arithmetic mean is <span class="intbl"><em>2+4+6+100</em><strong>4</strong></span> = 28</p>
<p>The harmonic mean is 4/(<span class="intbl"><em>1</em><strong>2</strong></span> + <span class="intbl"><em>1</em><strong>4</strong></span> + <span class="intbl"><em>1</em><strong>6</strong></span> + <span class="intbl"><em>1</em><strong>100</strong></span>) = 4.32 (to 2 places)</p>
</div>
<p>But small outliers will make things worse!</p>
<h2>Another way to think of it</h2>
<p>We can rearrange the formula above to look like this:</p>
<p class="center"><img src="images/harmonic-mean-flip.svg" alt="Harmonic Mean"><br>
</p>
<p>It is <b>not</b> easy to use this way, but it does look more &quot;balanced&quot; (<b>n</b> on one side matched with n <b>1</b>s on the other, and the mean on one side matched with the values on the other side too).</p>
<p>&nbsp;</p>
<div class="related">
<a href="../mean.html">Arithmetic Mean</a> <a href="geometric-mean.html">Geometric Mean</a> <a href="index.html">Numbers Index</a></div>
<!-- #EndEditable --></div>
<div id="adend" class="centerfull noprint">
<script type="text/javascript">document.write(getAdEnd());</script>
</div>
<div id="footer" class="centerfull noprint">
<script type="text/javascript">document.write(getFooter());</script>
</div>
<div id="copyrt">
Copyright &copy; 2018 MathsIsFun.com
</div>
<script type="text/javascript">document.write(getBodyEnd());</script>
</body>
<!-- #EndTemplate -->
<!-- Mirrored from www.mathsisfun.com/numbers/harmonic-mean.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:41:53 GMT -->
</html>