{"id":2983,"date":"2023-01-12T21:49:19","date_gmt":"2023-01-12T21:49:19","guid":{"rendered":"http:\/\/mclements.net\/blogWP\/?p=2983"},"modified":"2023-01-13T17:45:41","modified_gmt":"2023-01-13T17:45:41","slug":"slide-rules","status":"publish","type":"post","link":"http:\/\/mclements.net\/blogWP\/index.php\/2023\/01\/12\/slide-rules\/","title":{"rendered":"Slide Rules!"},"content":{"rendered":"<h3>Background<\/h3>\n<p>I learned to use slide rules in high school in the 1980s. My physics teacher was one of the most memorable teachers in my life, \u201cMr. Jordan\u201d. He said that slide rules can be faster than a calculator, and they promote a better understanding of numbers, orders of magnitude, and significant figures. They are not as accurate as calculators, but real-world problems only need 2-3 significant figures. As such, anyone who used a slide rule instead of a calculator would get a bonus 10% on every test, and answers would be considered correct if they were within 1% of correct. I was one of the few who took him up on this offer.<\/p>\n<p>He handed out small circular slide rules, saying they were easier to use than linear slide rules (which is true, since circular never goes off scale). I don\u2019t remember exactly what model slide rule it was, but the closest I know of today is the <a href=\"https:\/\/www.amazon.com\/dp\/B01GPV14D4\">Concise model 28N<\/a>. It was either that, or something very similar.<\/p>\n<p>Note: I now have a Concise model 300, which is their biggest and best. The C and D scales are 8 cm in diameter, which is a circumference of 8\u03c0 which is 25.2 cm, or about 10&#8243;. This is the slide used used in the photos below.<\/p>\n<p>All we needed for physics was multiplication and division, and squares &amp; cubes. Jordan would throw problems like, \u201cA Porsche 944 goes 0-60 in 8 seconds. If it weighs 3000 lbs. with fuel and driver, and half the engine power goes toward acceleration, how much power does the engine produce?\u201d<\/p>\n<p>Since then I\u2019ve been a slide rule fan. I use one when flying for computing fuel burn rates, density altitude, altimeter &amp; airspeed corrections. I also keep one around for doing random calculations that come up during the course of a day. When 2-3 sig figs of accuracy is sufficient, it\u2019s quicker &amp; easier than a calculator.<\/p>\n<p>Slide rules are antiquated tech. So why learn to use them? It&#8217;s for these secondary benefits mentioned above. And they are fun.<\/p>\n<h3>Introduction<\/h3>\n<p>Slide rules are based on the concept of a <em><strong>logarithm<\/strong><\/em> (aka <em><strong>log<\/strong><\/em>). Every log has a base, and the log is what power you raise that base to get some other number N. Examples:<\/p>\n<ul>\n<li>Log base 10 of 100 is 2, because you raise 10 to the power 2 to get 100, or 10^2 = 100<\/li>\n<li>Log base 2 of 32 is 5, since 2^5 = 32<\/li>\n<li>Log base 10 of 42 is 1.623 (approximately), or 10^1.623 = 42<\/li>\n<\/ul>\n<p>The reason logs are useful, and how they led to the invention of slide rules, is because exponents are additive. That is: 10^5 = 10^(2+3) = 10^2 * 10^3<\/p>\n<p>That means if I know the logs of 2 numbers A and B, call them La and Lb, then La + Lb is the log of the product A*B.<\/p>\n<pre>Note: Computer scientists take advantage of this when multiplying many tiny numbers together. Since computer floating points have finite precision, multiplying many tiny numbers leads to underflow. Instead, take each number's log and add them all up. Then at the end take the inverse log of that sum. This gives you the same product with much higher precision since it never underflows.<\/pre>\n<p>Now suppose I have 2 rulers with markings from 1 to 10. But instead of being spaced linear like a normal ruler, they are spaced logarithmically. If I line up 1 on the first ruler, with some number A on the second ruler, then the mark for some other number B on the first ruler will line up with the value of A*B on the second ruler.<\/p>\n<p>A picture&#8217;s worth 1000 words, so here&#8217;s a circular slide rule.<a href=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_122412.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2984 alignnone\" src=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_122412.jpg\" alt=\"\" width=\"2279\" height=\"2251\" srcset=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_122412.jpg 2279w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_122412-300x296.jpg 300w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_122412-768x759.jpg 768w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_122412-1024x1011.jpg 1024w\" sizes=\"auto, (max-width: 2279px) 100vw, 2279px\" \/><\/a><\/p>\n<p>The clear marker with the thin red line is called the cursor. We&#8217;ll ignore that for now. See how the two black highlighted &#8220;1&#8221; values are aligned? Each of those scales (inner and outer) are logarithmic. That&#8217;s why the range from 1-2 takes about 1\/3 of the scale while the range at the upper end is much more compressed. As you start from 1 and go up the scale, the numbers start out spread apart and get more squished together.<\/p>\n<p>Watch what happens when we slide the inner &#8220;1&#8221; to line up with the outer &#8220;2&#8221;:<a href=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_121647.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2985 alignnone\" src=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_121647.jpg\" alt=\"\" width=\"2272\" height=\"2264\" srcset=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_121647.jpg 2272w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_121647-150x150.jpg 150w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_121647-300x300.jpg 300w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_121647-768x765.jpg 768w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/20230112_121647-1024x1020.jpg 1024w\" sizes=\"auto, (max-width: 2272px) 100vw, 2272px\" \/><\/a><\/p>\n<p>If this were a linear ruler, it would be shifted by 1 over the entire scale: 1 to 2, 2 to 3, 3 to 4, etc. But not here, where 1 matches 2, 2 matches 4, 3 matches 6, 4 matches 8, etc. Every number on the inner scale matches the number exactly twice as much on the outer scale. And every number on the outer scale matches the number exactly half as much on the inner scale.<\/p>\n<p>Below I&#8217;ve highlighted what I&#8217;m talking about. Each number on the inner scale matches to exactly twice its value on the outer scale.<\/p>\n<p><a href=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-2x.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2993\" src=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-2x.jpg\" alt=\"\" width=\"2272\" height=\"2264\" srcset=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-2x.jpg 2272w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-2x-150x150.jpg 150w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-2x-300x300.jpg 300w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-2x-768x765.jpg 768w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-2x-1024x1020.jpg 1024w\" sizes=\"auto, (max-width: 2272px) 100vw, 2272px\" \/><\/a><\/p>\n<p>In short, this slide rule is set up to multiply or divide any number by 2.<\/p>\n<p>Yet here&#8217;s the kicker: this is not specific to the value 2. It&#8217;s downright magical. Here&#8217;s the slide rule with 1 matched to 3:<br \/>\n<a href=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2996\" src=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x.jpg\" alt=\"\" width=\"2287\" height=\"2260\" srcset=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x.jpg 2287w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x-300x296.jpg 300w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x-768x759.jpg 768w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x-1024x1012.jpg 1024w\" sizes=\"auto, (max-width: 2287px) 100vw, 2287px\" \/><\/a><\/p>\n<p>Similar scenario, only now we can multiply or divide any number by 3. And look below for 4:<br \/>\n<a href=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-4x.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2997\" src=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-4x.jpg\" alt=\"\" width=\"2233\" height=\"2219\" srcset=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-4x.jpg 2233w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-4x-150x150.jpg 150w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-4x-300x298.jpg 300w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-4x-768x763.jpg 768w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-4x-1024x1018.jpg 1024w\" sizes=\"auto, (max-width: 2233px) 100vw, 2233px\" \/><\/a><\/p>\n<p>Of course, this doesn&#8217;t just work for integers. You can do this for any number in the scale. In fact, now you know how to multiply or divide using a slide rule.<\/p>\n<p>BTW, these are called the C and D scales. On this slide rule, D is the outer and C is the inner. That&#8217;s what the C and D are in photos.<\/p>\n<h3>What about Zeros and Decimals?<\/h3>\n<p>Suppose you want to multiply 3*4. First line up the C scale 1 with the D scale 3, then look at the C scale 4, which points to the D scale 12. See the picture below:<\/p>\n<p><a href=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2988\" src=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x4.jpg\" alt=\"\" width=\"2287\" height=\"2260\" srcset=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x4.jpg 2287w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x4-300x296.jpg 300w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x4-768x759.jpg 768w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-3x4-1024x1012.jpg 1024w\" sizes=\"auto, (max-width: 2287px) 100vw, 2287px\" \/><\/a><\/p>\n<p>You might notice that it doesn&#8217;t actually say 12, it says 1.2. We happen to know that 3*4 is 12, so we interpret the 1.2 as 12. When you use a slide rule you need to keep track of the decimal point.<\/p>\n<pre>This is where circular slide rules are easier to use than straight ones. On a straight rule, this 3*4 problem is greater than 1, so it goes off scale and you can't read the answer. You need to shift to additional scales CF or DF (C folded and D folded) to read the results. Circular slide rules never go off scale, they just wrap around. Much simpler and easier!<\/pre>\n<h3>All Those Scales!<\/h3>\n<p>So far we&#8217;ve only covered the C and D scales. You can see that slide rules have several other scales. Most slide rules have these scales:<\/p>\n<ul>\n<li>C &amp; D: multiplication &amp; division<\/li>\n<li>CI: inverses<\/li>\n<li>A &amp; B: squares &amp; square roots<\/li>\n<\/ul>\n<p>Some slide rules also have these scales:<\/p>\n<ul>\n<li>K: cubes &amp; cube roots<\/li>\n<li>S, T, ST: sine &amp; tangent<\/li>\n<\/ul>\n<p>Let&#8217;s go through these one at a time.<\/p>\n<h3>CI Scale: Inverses<\/h3>\n<p>The CI scale is the inverse of the C scale and it&#8217;s marked in red. Simply put, it is the same scale but going backward &#8211; in the opposite direction. The C scale increases clockwise; the CI scale increases counter-clockwise. Each number on the C scale, lines up with its inverse on the CI scale. For example, 2 lines up with 5 since the inverse of 2 is 0.5.<\/p>\n<p>Here, the cursor comes in handy to read these scales. For example, below the cursor is lined up on 4, so you can precisely read its inverse on the CI scale, which is 0.25. But as you can see all around the dial, each number on C always lines up with its inverse on CI, and both scales increase in opposite directions around the circle. I&#8217;ve marked some obvious points, like 4 and .25, 5 and .2, and their inverses.<br \/>\n<a href=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-CI.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3000\" src=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-CI.jpg\" alt=\"\" width=\"2142\" height=\"2160\" srcset=\"http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-CI.jpg 2142w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-CI-150x150.jpg 150w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-CI-298x300.jpg 298w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-CI-768x774.jpg 768w, http:\/\/mclements.net\/blogWP\/wp-content\/uploads\/2023\/01\/sliderule-CI-1015x1024.jpg 1015w\" sizes=\"auto, (max-width: 2142px) 100vw, 2142px\" \/><\/a><\/p>\n<p>For example, reading for yourself you can see that 1\/7 is about 1.43. My calculator says it&#8217;s 1.42857. So we got 3 significant figures of accuracy there (more on sig figs later).<\/p>\n<h3>Conclusion<\/h3>\n<p>Now that you can use a slide rule for basic computations, have some fun practicing. I cover some of the other scales in <a href=\"http:\/\/mclements.net\/blogWP\/index.php\/2023\/01\/09\/slide-rule-past-the-basics\/\">part 2<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Background I learned to use slide rules in high school in the 1980s. My physics teacher was one of the most memorable teachers in my life, \u201cMr. Jordan\u201d. He said that slide rules can be faster than a calculator, and they promote a better understanding of numbers, orders of magnitude, and significant figures. They are &hellip; <a href=\"http:\/\/mclements.net\/blogWP\/index.php\/2023\/01\/12\/slide-rules\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Slide Rules!<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,2],"tags":[],"class_list":["post-2983","post","type-post","status-publish","format-standard","hentry","category-math","category-tech"],"_links":{"self":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts\/2983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/comments?post=2983"}],"version-history":[{"count":19,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts\/2983\/revisions"}],"predecessor-version":[{"id":3028,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/posts\/2983\/revisions\/3028"}],"wp:attachment":[{"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/media?parent=2983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/categories?post=2983"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mclements.net\/blogWP\/index.php\/wp-json\/wp\/v2\/tags?post=2983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}