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

171 lines
7.0 KiB
HTML

<!DOCTYPE html>
<html lang="en"><!-- #BeginTemplate "/Templates/Main.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/geometry/pythagoras-3d.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:44:46 GMT -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- #BeginEditable "doctitle" -->
<title>Pythagoras Theorem in 3D</title>
<!-- #EndEditable -->
<meta name="keywords" content="math, maths, mathematics, school, homework, education">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="HandheldFriendly" content="true">
<meta name="referrer" content="always">
<link rel="preload" href="../images/style/font-champ-bold.ttf" as="font" type="font/ttf" crossorigin="">
<link rel="preload" href="../style4.css" as="style">
<link rel="preload" href="../main4.js" as="script">
<link rel="stylesheet" href="../style4.css">
<script src="../main4.js" defer="defer"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-29771508-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-29771508-1');
</script>
</head>
<body id="bodybg">
<div id="stt"></div>
<div id="adTop"></div>
<header>
<div id="hdr"></div>
<div id="tran"></div>
<div id="adHide"></div>
<div id="cookOK"></div>
</header>
<div class="mid">
<nav>
<div id="menuWide" class="menu"></div>
<div id="logo"><a href="../index.html"><img src="../images/style/logo.svg" alt="Math is Fun"></a></div>
<div id="search" role="search"></div>
<div id="linkto"></div>
<div id="menuSlim" class="menu"></div>
<div id="menuTiny" class="menu"></div>
</nav>
<div id="extra"></div>
<article id="content" role="main">
<!-- #BeginEditable "Body" -->
<h1>Pythagoras' Theorem in 3D</h1>
<h2>In 2D</h2>
<p>First, let us have a quick refresher in two dimensions:</p>
<p style="float:left; margin: 10px;"><img src="../images/pythagoras.jpg" alt="pythagoras" height="118" width="58"><br>
<span class="tiny"><i>Pythagoras</i></span></p>
<p class="larger center"><i> When a triangle has a right angle (90°) ...</i></p>
<p class="larger center"><i>... and squares are made on each
of the three sides, ...</i></p>
<div class="script" style="height: 360px;">
images/pyth1.js
</div>
<p><i>... then the biggest square has the <b>exact same area</b> as the other two squares put together!</i></p><br>
<div style="clear:both"></div>
<p style="float:left; margin: 0 10px 5px 0;"><img src="images/pythagoras-abc.svg" alt="Pythagoras" height="242" width="221"></p>
<p>It is called "Pythagoras' Theorem" and can be written in one short equation:</p>
<p class="largest" align="center">a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup></p>
<p class="center"><img src="images/pythagoras-squares.svg" alt="pythagoras squares a^2 + b^2 = c^2" height="109" width="375"></p>
<p>Note:</p>
<ul>
<li><b>c</b> is the <span class="larger"> <b>longest side</b> of the triangle</span></li>
<li><b>a</b> and <b>b</b> are the other two sides</li>
</ul>
<p>And when we want to know the distance "c" we take the square root:</p>
<div class="tbl"></div>
<p class="largest" align="center">c<sup>2</sup> = a<sup>2</sup> + b<sup>2</sup></p>
<p class="largest" align="center">c = √(a<sup>2</sup> + b<sup>2</sup>)</p>
<p>You can read more about it at <a href="../pythagoras.html">Pythagoras' Theorem</a>, but here we see how it can be extended into <b>3&nbsp;Dimensions</b>.</p>
<h2>In 3D</h2>
<p>Let's say we want the distance from the bottom-most left front corner to the top-most right back corner of this cuboid:</p>
<p class="center"><img src="images/pythagoras-3d-a.svg" alt="pythagoras 3d" height="163" width="207"></p>
<p>First let's just do the triangle on the bottom.</p>
<p>Pythagoras tells us that <b>c = √(x<sup>2</sup> + y<sup>2</sup>)</b></p>
<p class="center"><img src="images/pythagoras-3d-b.svg" alt="pythagoras 3d" height="163" width="207"></p>
<p>Now we make another triangle with its base along the "<b>√(x<sup>2</sup> + y<sup>2</sup>)</b>" side of the previous triangle, and going up to the far corner:</p>
<p class="center"><img src="images/pythagoras-3d-c.svg" alt="pythagoras 3d" height="163" width="207"></p>
<p>We can use Pythagoras again, but this time the two sides are <b> √(x<sup>2</sup> + y<sup>2</sup>)</b> and <b> z</b>, and we get this formula:</p>
<p class="center"><img src="images/pythagoras-3d-xyz.svg" alt="pythagoras 3d" height="79" width="165"></p>
<p>And the final result is:</p>
<p class="center"><img src="images/pythagoras-3d-d.svg" alt="pythagoras 3d" height="163" width="207"></p>
<p>&nbsp;</p>
<p>So it is all part of a pattern that extends onwards:</p>
<div class="simple">
<table style="border: 0; margin:auto;">
<tbody>
<tr>
<th>Dimensions</th>
<th>Pythagoras</th>
<th>Distance "c"</th>
</tr>
<tr>
<td style="text-align:center;"><b>1</b></td>
<td>c<sup>2</sup> = x<sup>2</sup></td>
<td>√(x<sup>2</sup>) = x</td>
</tr>
<tr>
<td style="text-align:center;"><b>2</b></td>
<td>c<sup>2</sup> = x<sup>2</sup> + y<sup>2</sup></td>
<td>√(x<sup>2</sup> + y<sup>2</sup>)</td>
</tr>
<tr>
<td style="text-align:center;"><b>3</b></td>
<td>c<sup>2</sup> = x<sup>2</sup> + y<sup>2</sup> + z<sup>2</sup></td>
<td>√(x<sup>2</sup> + y<sup>2</sup> + z<sup>2</sup>)</td>
</tr>
<tr>
<td style="text-align:center;">...</td>
<td>...</td>
<td>...</td>
</tr>
<tr>
<td style="text-align:center;"><b>n</b></td>
<td>c<sup>2</sup> = a<sub>1</sub><sup>2</sup> + a<sub>2</sub><sup>2</sup> + ... + a<sub>n</sub><sup>2</sup></td>
<td>√(a<sub>1</sub><sup>2</sup> + a<sub>2</sub><sup>2</sup> + ... + a<sub>n</sub><sup>2</sup>)</td>
</tr>
</tbody></table>
</div>
<p>&nbsp;</p>
<p>So next time you need an n-dimensional distance you will know how to calculate it!</p>
<p>&nbsp;</p>
<div class="related">
<a href="../pythagoras.html">Pythagoras' Theorem</a>
<a href="../right_angle_triangle.html">Right Angled Triangles</a>
<a href="../activity/fishing-rod.html">The Fishing Rod</a>
<a href="pythagorean-theorem-proof.html">Pythagorean Theorem Algebra Proof</a>
</div>
<!-- #EndEditable -->
</article>
<div id="adend" class="centerfull noprint"></div>
<footer id="footer" class="centerfull noprint"></footer>
<div id="copyrt">Copyright © 2022 Rod Pierce</div>
</div>
</body><!-- #EndTemplate -->
<!-- Mirrored from www.mathsisfun.com/geometry/pythagoras-3d.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:44:47 GMT -->
</html>