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

324 lines
16 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. 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/Advanced.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/algebra/mathematical-models.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:59:38 GMT -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- #BeginEditable "doctitle" -->
<title>Mathematical Models</title>
<script language="JavaScript" type="text/javascript">reSpell = [["liters", "litres"],["meter", "metre"],["meters", "metres"]];</script>
<meta name="Description" content="Math explained in easy language, plus puzzles, games, quizzes, worksheets and a forum. For K-12 kids, teachers and parents.">
<!-- #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" class="adv">
<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-adv.svg" alt="Math is Fun Advanced"></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 class="center">Mathematical Models</h1>
<p>Mathematics can be used to "model", or represent, how the real world works.</p>
<div class="example">
<h3>Example: how much space is inside this cardboard box?</h3>
<p style="float:right; margin: 0 0 5px 10px;"><img src="images/cardboard-box.svg" alt="Cardboard Box" height="200" width="291"></p>
<p>&nbsp;</p>
<p>We know three measurements:</p>
<ul>
<li><b>l</b> (length),</li>
<li><b>w</b> (width), and</li>
<li><b>h</b> (height),</li>
</ul>
<p>and the formula for the <a href="../cuboid.html">volume of a cuboid</a> is:</p>
<p class="center"><span class="larger">Volume&nbsp;=&nbsp;l&nbsp;×&nbsp;w&nbsp;×&nbsp;h</span></p>
</div>
<p>So we have a (very simple) mathematical model of the space in that box.</p>
<h2>Accurate?</h2>
<p class="larger">The model is not the same as the real thing.</p>
<p>In our example we did not think about the thickness of the cardboard, or many other "real world" things.</p>
<p class="center larger">But hopefully it is <b>good enough to be useful</b>.</p>
<table style="border: 0; margin:auto;">
<tbody>
<tr>
<td><img src="../money/images/coin-stack-add.jpg" alt="coin stack add" height="140" width="106"></td>
<td>
<p>If we are charged by the volume of the box we send, we can take a few measurements and know how much to pay.</p>
<p>It can also be useful when deciding which box to buy when we need to pack things.</p>
<p class="center">So the model is useful!</p>
</td>
</tr>
</tbody></table>
<p>&nbsp;</p>
<p>But maybe we need more accuracy, we might need to send hundreds of boxes every day, and the thickness of the cardboard matters. So let's see if we can <b>improve the model</b>:</p>
<div class="example">
<h3>The cardboard is "t" thick and we measure from outside the box. How much space is inside?</h3>
<p style="float:left; margin: 0 10px 5px 0;"><img src="images/cardboard-box-b.svg" alt="Cardboard Box with thickness" height="130" width="110"></p>
<p>The inside measurements need to be reduced by the thickness of each side:</p>
<ul>
<li>The inside length is <b>l-2t</b></li>
<li>The inside width is <b>w-2t</b>,</li>
<li>The inside height is <b>h-2t</b></li>
</ul>
<p>and now the formula is:</p>
<p class="center"><span class="larger">Inside Volume&nbsp;=&nbsp;(l-2t)&nbsp;×&nbsp;(w-2t)&nbsp;×&nbsp;(h</span><span class="larger">-2t)</span></p>
</div>
<p>Now we have a <b>better</b> model. Still not perfect (did we consider wasted space because we could not pack things neatly, etc ...), but better.</p>
<p class="center larger">So a model is not reality, but should be good enough to be useful.</p>
<h2>Playing With The Model</h2>
<p>Now we have a model, we can use it in different ways:</p>
<div class="example">
<h3>Example: Your company uses 200x300x400 mm size boxes, and the cardboard is 5mm thick.</h3>
<h3>Someone suggests using 4mm cardboard ... how much better is that?</h3>
<p>Let us compare the two volumes:</p>
<ul>
<li>Current Volume&nbsp;=&nbsp;(200-2×5)&nbsp;×&nbsp;(300-2×5)&nbsp;×&nbsp;(400-2×5) = 21,489,000 mm<sup>3</sup></li>
<li>New Volume&nbsp;=&nbsp;(200-2×4)&nbsp;×&nbsp;(300-2×4)&nbsp;×&nbsp;(400-2×4) = 21,977,088 mm<sup>3</sup></li>
</ul>
<p>That is a change of:</p>
<p class="center larger">(21,977,088-21,489,000)/21,489,000 ≈ 2% more volume</p>
</div>
<p>So the model is <b>useful</b>. It lets us know we will get 2% more space inside the box (for the same outside measurements).</p>
<p>But there are still "real world" things to think about, such as "will it be strong enough?"</p>
<h2>Thinking Clearly</h2>
<p>To set up a mathematical model we also need to think clearly about the facts!</p>
<div class="example">
<h3>Example: on our street there are twice as many dogs as cats. How do we write this as an equation?</h3>
<ul>
<li>Let D = number of dogs</li>
<li>Let C = number of cats</li>
</ul>
<p class="center">Now ... is that: <span class="large">2D = C</span></p>
<p class="center">or should it be: <span class="large">D = 2C</span></p>
<p>Think carefully now!</p>
<p class="center">The correct answer is <span class="hide">D = 2C</span></p>
<p>&nbsp;</p>
<p>(<b>2D = C</b> is a common mistake, as the question is written "twice ... dogs ... cats")</p>
</div>
<p>Here is another one:</p>
<div class="example">
<h3>Example: You are the supervisor of 8-hour shift workers. They recently had their break times reduced by 10 minutes but total production did not improve.</h3>
<p>At first glance there is nothing to model, because there was no change in production.</p>
<p>But wait a minute ... they are working 10 minutes more, but producing the same amount, so <b>production per hour</b> must have dropped!</p>
<p>Let us assume they used to work 7 hours (420 minutes):</p>
<p class="center larger">Change in production per hour = 410/420 = <b>0.976...</b></p>
<p class="center">Which is a <b>reduction of more than 2%</b></p>
<p>But even worse: the first few hours of the shift are not affected by the shorter break time, so it could be a 4 or 5% reduction later in the shift.</p>
<p>You could recommend:</p>
<ul>
<li>looking at production rates for every hour of the shift</li>
<li>trying different break times to see how they affect production</li>
</ul>
</div>
<p>&nbsp;</p>
<h2>A Bigger Example: Most Economical Size</h2>
<p>OK, let us have a go at building and using a mathematical model to solve a real world question.</p>
<div class="center80">
<p><b>Your company is going to make its own boxes!</b></p>
<p>It has been decided the box should hold <b>0.02m<sup>3</sup></b> (0.02 cubic meters which is equal to 20 liters) of nuts and bolts.</p>
<p>The box should have a square base, and double thickness top and bottom.</p>
<p>Cardboard costs <b>$0.30</b> per square meter.</p>
<p>It is up to you to decide the most economical size.</p>
</div>
<h3>Step One: Draw a sketch!</h3>
<p>It helps to sketch out what we are trying to solve!</p>
<table style="border: 0; margin:auto;">
<tbody>
<tr>
<td><img src="images/3d-square-box.svg" alt="3d Box" height="90" width="167"> </td>
<td>The base is square, so we will just use "w" for both lengths</td>
</tr>
</tbody></table>
<table style="border: 0; margin:auto;">
<tbody>
<tr>
<td style="text-align:right;">
<p>The box has 4 sides, and double tops and bottoms.</p>
<p>The box shape could be cut out like this (but is probably more complicated):</p>
</td>
<td><img src="images/3d-square-box-net.svg" alt="3d Box Net (top, sides, base)" height="177" width="301"></td>
</tr>
</tbody></table>
<h3>Step Two: Make Formulas.</h3>
<p>Ignoring thickness for this model:</p>
<p class="center"><span class="larger">Volume&nbsp;=&nbsp;w&nbsp;×&nbsp;w&nbsp;×&nbsp;h =&nbsp;w<sup>2</sup>h</span></p>
<p>And we are told that the volume should be 0.02m<sup>3</sup>:</p>
<p class="center"><span class="larger">w<sup>2</sup>h = 0.02</span></p>
<p>Areas:</p>
<p class="center"><span class="larger">Area of the 4 Sides&nbsp;=&nbsp;4&nbsp;×&nbsp;w&nbsp;×&nbsp;h =&nbsp;4wh</span></p>
<p class="center"><span class="larger">Area of Double Tops and Bases&nbsp;=&nbsp;4&nbsp;×&nbsp;w&nbsp;×&nbsp;w =&nbsp;4w<sup>2</sup></span></p>
<p>Total cardboard needed:</p>
<p class="center"><span class="larger">Area of Cardboard =&nbsp;</span><span class="larger">4wh + </span><span class="larger">4w<sup>2</sup></span></p>
<h3>Step Three: Make a Single Formula For Cost</h3>
<p>We want a single formula for cost:</p>
<p class="center larger">Cost = $0.30 × Area of Cardboard</p>
<p class="center"><span class="larger">=&nbsp;$0.30 × (4wh + </span><span class="larger">4w<sup>2</sup>)</span></p>
<p>And that is the cost when we know width <b>and</b> height.</p>
<p>That could be hard to work with ... a function with two variables.</p>
<p>But we can make it simpler! Because width and height are already related by the volume:</p>
<p class="center"><span class="larger">Volume&nbsp;=&nbsp;w<sup>2</sup>h = 0.02</span></p>
<p class="center">... which can be rearranged to ...</p>
<p class="center"><span class="larger">h = 0.02</span>/<span class="larger">w<sup>2</sup></span></p>
<p class="center">... and that can be put into the cost formula ...</p>
<p class="center"><span class="larger">Cost</span><span class="larger"> =&nbsp;$0.30 × (4w×<b>0.02/w<sup>2</sup></b> + </span><span class="larger">4w<sup>2</sup></span>)</p>
<p>And now the cost is related directly to <b>width only</b>.</p>
<p>With a little simplification we get:</p>
<div class="center80">
<p class="center"><span class="larger">Cost</span><span class="larger"> =&nbsp;$0.30 × (0.08/w+ </span><span class="larger">4w<sup>2</sup>)</span></p>
</div>
<h3>Step Four: Plot it and find minimum cost</h3>
<p>What to plot? Well, the formula only makes sense for widths greater than zero, and I also found that for widths above 0.5 the cost just gets bigger and bigger.</p>
<p>So here is a plot of that cost formula for <b>widths between 0.0 m and 0.55 m</b>:</p>
<p class="center"><img src="images/model-box-cost-graph.gif" alt="Cost Graph" height="207" width="257"><br>
<span class="larger">Plot of y=&nbsp;0.3(0.08/x+4x<sup>2</sup>)<b><br>
x</b> is width, and <b>y</b> is cost</span></p>
<p>Just by eye, I see the cost reaches a minimum at about <b>(0.22, 0.17)</b>. In other words:</p>
<ul>
<li>when the width is about <b>0.22 m</b> (x-value),</li>
<li>the minimum cost is about <b>$0.17</b> per box (y-value).</li>
</ul>
<p>In fact, looking at the graph, the width could be anywhere between 0.20 and 0.24 without affecting the minimum cost very much.</p>
<h3>Step Five: Recommendations</h3>
<p>Using this mathematical model you can now recommend:</p>
<ul>
<div class="bigul">
<li>Width = 0.22 m</li>
<li>Height = 0.02/w<sup>2</sup> = 0.02/0.22<sup>2</sup> = 0.413 m</li>
<li>Cost =&nbsp;$0.30 × (0.08/w+ 4w<sup>2</sup>) = $0.30 × (0.08/0.22+ 4×0.22<sup>2</sup>) = $0.167</li>
</div>
</ul>
<p>Or about 16.7 cents per box</p>
<p>But any width between 0.20 m and 0.24 m is fine.</p>
<p>You might also like to suggest improvements to this model:</p>
<ul>
<li>Include cost of glue/staples and assembly</li>
<li>Include wastage when cutting box shape from cardboard.</li>
<li>Is this box a good shape for packing, handling and storing?</li>
<li>Any other ideas you may have!</li>
</ul>
<p>&nbsp;</p>
<h2>Predicting the Future</h2>
<p>Mathematical models can also be used to forecast future behavior.</p>
<div class="example">
<h3>Example: An ice cream company keeps track of how many ice creams get sold on different days.</h3>
<p style="float:left; margin: 0 10px 5px 0;"><img src="../combinatorics/images/ice-cream.jpg" alt="ice cream" height="133" width="100"></p>
<p>By comparing this to the weather on each day they can make a mathematical model of <b>sales versus weather</b>.</p>
<p>They can then predict future sales based on the weather forecast, and decide how many ice creams they need to make ... ahead of time!</p>
</div>
<h2>Computer Modeling</h2>
<p>Mathematical models can get very complex, and so the mathematical rules are often written into computer programs, to make a computer model.</p>
<p class="center larger">Have a play with a simple <a href="../geometry/ellipse-reflect-model.html">computer model of reflection inside an ellipse</a><br>
or the <a href="../physics/pendulum.html">single pendulum</a> or <a href="../physics/double-pendulum.html">double pendulum animation</a>.</p>
<p>More complex examples include:</p>
<ul>
<li>Weather prediction</li>
<li>Economic Models (predicting interest rates, unemployment, etc)</li>
<li>Public health vs infectious diseases</li>
<li>Models of how large structures behave under stress (bridges, skyscrapers, etc)</li>
<li>Many more ...</li>
</ul>
<p>If you become an expert in any of those you will have a job for life!</p>
<p>&nbsp;</p>
<div class="related">
<a href="index.html">Algebra Index</a>
<a href="word-questions-solving.html">Solving Word Questions</a>
<a href="mathematical-models-2.html">Mathematical Models 2</a>
</div>
<!-- #EndEditable -->
</article>
<div id="adend" class="centerfull noprint"></div>
<footer id="footer" class="centerfull noprint"></footer>
<div id="copyrt">Copyright © 2021 MathsIsFun.com</div>
</div>
</body><!-- #EndTemplate -->
<!-- Mirrored from www.mathsisfun.com/algebra/mathematical-models.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:59:39 GMT -->
</html>