lkarch.org/tools/mathisfun/www.mathsisfun.com/puzzles/weighing-jelly-babies-solution.html
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

124 lines
6.9 KiB
HTML

<!doctype html>
<html lang="en"><!-- #BeginTemplate "/Templates/Main.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/puzzles/weighing-jelly-babies-solution.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 01:08:50 GMT -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>Weighing Jelly Babies Puzzle - Solution</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))'>
<link rel="stylesheet" type="text/css" href="../style3.css" />
<link rel="stylesheet" type="text/css" href="local.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 class="puzLinks"><a class="puzLink" href="measuring-puzzles-index.html">Measuring Puzzles</a><a class="puzLink" href="starter-puzzles-index.html">Starter Puzzles</a><a class="puzLink" href="../games/puzzle-games.html">Puzzle Games</a><a class="puzLink" href="logic-puzzles-index.html">Logic Puzzles</a><a class="puzLink" href="jigsaw-puzzles-index.html">Jigsaw Puzzles</a><a class="puzLink" href="number-puzzles-index.html">Number Puzzles</a><a class="puzLink" href="card-puzzles-index.html">Card Puzzles</a><a class="puzLink" href="einstein-puzzles-index.html">Einstein Puzzles</a><a class="puzLink" href="sam-loyd-puzzles-index.html">Sam&nbsp;Loyd Puzzles</a><a class="puzLink" href="algebra-puzzles-index.html">Algebra Puzzles</a></div> <div id="extra"></div>
</div>
<div id="content" role="main"><!-- #BeginEditable "Body" -->
<h1 class="puzTitle">Weighing Jelly Babies Puzzle - Solution</h1><div class="puzPuzzle"><h2>The Puzzle:</h2><div class="puzText"><div class="puzThumb"><a href="measuring-puzzles-index.html"><img src="images/weigh.jpg" width="113" height="107" alt="Weighing Jelly Babies" style="border-style: none" /></a></div>Real jelly babies have a mass of 10 grams, while imitation jelly babies have a mass of 9 grams. <br />
<br />
Spike has 7 cartons of jelly babies, 4 of which contain real jelly babies, the others imitation. <br />
<br />
Using a scale only once (and minimum disturbance of the boxes contents!), how can Spike determine which cartons contain real jelly babies?</div></div><div class="puzSep"></div><div class="puzSoln"><h2>Our Solution:</h3><div class="puzSolnText">Remove a DIFFERENT number of jelly babies from each box, weigh the boxes, then figure out which combination would produce that weight loss.<br />
<br />
The best method is to remove 0, 1, 2, 4, 7, 13, and 24 jelly babies from the boxes. 51 total.<br />
<br />
If they were all genuine, you would have removed 51 x 10g = 510g, but not all boxes are genuine so the weight will be less.<br />
<br />
The trick is in choosing the right numbers to remove, so that all possible combinations will be unique. <br />
<br />
Start at 0 and then choose each new number to be greater than any previous, because otherwise the sums will not be unique, but also the sums it made when paired with any previous number have to be distinct from all previous pairs. The number 0, 1, 2, 4, 7, 13, and 24 work well.<br />
<br />
So, upon weighing, the weight will be less than 510g.<br />
<br />
If it is only 3g lighter the combination must be 0, 1 and 2<br />
If it is 5g lighter the combination must be 0, 1 and 4<br />
And so on.<br />
<br />
If you are curious, the possible combinations are:<br />
<br />
3g = 0 + 1 + 2<br />
5g = 0 + 1 + 4<br />
6g = 0 + 2 + 4<br />
7g = 1 + 2 + 4<br />
8g = 0 + 1 + 7<br />
9g = 0 + 2 + 7<br />
10g = 1 + 2 + 7<br />
11g = 0 + 4 + 7<br />
12g = 1 + 4 + 7<br />
13g = 2 + 4 + 7<br />
14g = 0 + 1 + 13<br />
15g = 0 + 2 + 13<br />
16g = 1 + 2 + 13<br />
17g = 0 + 4 + 13<br />
18g = 1 + 4 + 13<br />
19g = 2 + 4 + 13<br />
20g = 0 + 7 + 13<br />
21g = 1 + 7 + 13<br />
22g = 2 + 7 + 13<br />
24g = 4 + 7 + 13<br />
25g = 0 + 1 + 24<br />
26g = 0 + 2 + 24<br />
27g = 1 + 2 + 24<br />
28g = 0 + 4 + 24<br />
29g = 1 + 4 + 24<br />
30g = 2 + 4 + 24<br />
31g = 0 + 7 + 24<br />
32g = 1 + 7 + 24<br />
33g = 2 + 7 + 24<br />
35g = 4 + 7 + 24<br />
37g = 0 + 13 + 24<br />
38g = 1 + 13 + 24<br />
39g = 2 + 13 + 24<br />
41g = 4 + 13 + 24<br />
44g = 7 + 13 + 24</div></div><div class="puzSolnFtr">See this puzzle <a href="weighing-jelly-babies.html">without solution</a><br />Discuss this puzzle at the <a href="http://www.mathisfunforum.com/index.php">Math is Fun Forum</a></div><div class="related"><a href="measuring-puzzles-index.html">Measuring Puzzles</a><a href="index.html">Puzzles 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/puzzles/weighing-jelly-babies-solution.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 01:08:50 GMT -->
</html>