I played with creating a logarithmic slider thing [1] in Javascript that I hoped I could package up as a kind of "widget" people could use on their web pages. But I don't really know Javascript that well—or rather how to make an API out of a Javascript thing.
Anyway, to test it I tried to make an Ohm's Law calculator [2].
I would love to see a site like the one in this post have some kind of interactive slide rule on the web page itself.
[1] https://github.com/EngineersNeedArt/SlideRule
[2] https://www.engineersneedart.com/ohmslaw/index.html (the yellow slider is not directly user-moveable in this example)
Robert A. Heinlein, Have Space Suit—Will Travel (1958)
I still have the slide rules, so this post was a great rabbit hole to go down. In software there's no need for them but I still find them fascinating as a window into how engineers used to get their work done.
... but in the Real World they work pretty well for the sort of calculations you might need to do in the field (literally, in a field, sometimes) and don't require batteries, are reasonably waterproof, and reasonably robust if dropped.
They're pretty useful for teaching amateur people how to implement algorithms. Multiple ways to solve problems, some easier than others, some more efficient than others, with immediate rewards of faster higher accuracy.
* https://cseweb.ucsd.edu/~pasquale/Classes/SlideRule/
* Mathematical Foundations of the Slide Rule (PDF): https://cseweb.ucsd.edu/~pasquale/Papers/IM11.pdf
* Why Does A Slide Rule Work? (PDF): https://cseweb.ucsd.edu/~pasquale/SlideRuleTalkLasVegas14.pd...
The gist of it is:
1. First, define a way to represent any univariate monotonic function f(x) on a graduated scale. (Specifically: select a discrete set of x values, and for each of these x values, place a mark with label x at a distance proportional to (f(x) - f(x_L)) from the left endpoint, where x_L is the leftmost x value.)
2. Then, if we have two such scales f(x) and g(x) that can slide relative to each other, we can compute functions of the form h(x, y, z) = f_inverse(f(x) + g(y) - g(z)).
It ends up being surprisingly versatile -- the above resources show how you can compute:
1. Multiplication: x * y using f(x) = log(x) and g(y) = log(y), with z fixed at 1
2. Hypotenuse: sqrt(x^2 + y^2) using f(x) = x^2 and g(y) = y^2, with z fixed at 0
3. Parallel resistors: 1/(1/x + 1/y) using f(x) = 1/x and g(y) = 1/y, with z fixed at +infinity
4. Exponentiation: x^(y/z) using f(x) = log(log(x)) and g(y) = log(y)
* https://www.youtube.com/watch?v=oYQdKbQ-sgM
"Professor Herning" (?) also has a good series of videos on the use of various scales as well:
* https://www.youtube.com/@ProfessorHerning/videos
His playlist starting at the beginning (C and D scales) with a Manheim layout:
* https://www.youtube.com/playlist?list=PL_qcL_RF-ZyvWJJkJOk_O...
* https://sliderulemuseum.com/Manuals/M37_Post_Manheim_Instruc...
Some manuals / books on slide rules:
* 1909: https://archive.org/details/mannheimsliderul00coxwrich
* 1922: https://archive.org/details/cu31924002978561/mode/2up
I never spent the time to get quick with it, but I could absolutely see it being quicker than a calculator. You’d just have to be aware of the limits to its precision if you were in a field that required it.
One problem with a slide rule is that it only performs operations on normalized mantissas. You have to keep a parallel exponent calculation in your head, and that slows you down. Also, maintaining best precision slows you down.
For multiplication, the DLDP in the result is:
- the sum of the DLDPs of the multiplicands MINUS 1 if the multiplication is done with the slide sticking out to the right of the ruler's body (for example 2.0 x 3.0 = 6.0).
- the sum of the DLDPs of the multiplicands if the multiplication is done with the slide sticking out to the left of the ruler's body (for example 5.0 x 4.0 = 20.0).
There's a similar rule for division, but that's left as an exercise for the student.
We were taught to estimate and use the rule to refine. I date back to the early electronic calculator era and we still had textbooks referencing slide rules etc.
"I want a dropping resistor for a plain old 1980s LED in a car" (back in ye old red LED 20 mA days) "Well experience indicates that will be far more than 500 ohms and somewhat less than 1K and IRL you're probably going to install a 680 and call it good" If you want an actual calculation for engineering purposes you calculate the ideal value under worst case conditions as about 585-ish ohms or whatever using the slide rule, purchasing LOLs at the idea of buying 0.1% precision resistors for mere LEDs, installs cheap 680 ohms and ships it. Maybe 680s if you want it bright to see in daylight or 820 if you want better odds to survive an alternator field winding dump or open battery (about the same thing). You can at least use the slide rule to verify everyone rounded in the "safer" direction to handle the worst case scenario.
We have speed electronic calculators now instead of slide rules, but they give a wronger answer and people aren't even aware of it or know why.
This article: “lol, is that the depth of your commitment”
Two Meter Slide Rule
When the "cloud" is raining and your laptop and phone batteries are drained and you suddenly need to navigate your 4823 times table - its got you covered.
You will also need to work out how to write with a pen or pencil on paper or try and fix up your atrophied ability to remember arbitrary "facts" short term.
I have a Casio fx-991ES calculator, and twenty years later I have yet to need to replace the button cell in it thanks to the tiny solar cell.
My version has a couple interesting properties compared to ordinary linear slide rules:
1. It has three octaves, so it can scale from 1 to 1k or from 1k to 1m, or from 1m to 1b. This is great for calculating point values
2. It's rotary
3. It can be easily 3d-printed!
Source code and .STL files here: https://www.printables.com/model/1026662-jimbos-rotary-slide...
It reminds me a little of AI now. The question of whether students should use AI will probably soon go away and everybody will use AI. Not sure what the results will be.
But perhaps you were referring to one of the many other parts of the E6B which I am not familiar with.
Most of my like-new rules came from antique malls, though I've also purchased one from Etsy. Estate sales are occasionally fruitful. As long as they were stored properly (e.g., in a desk drawer, like it seems they mostly were after the electronic calculator took over), they don't degrade. Occasionally you see minor yellowing that is cured by some time in the sun. Carrying cases (often leather) are typically more affected by time. I soak new (to me) leather cases in neatsfoot oil and give them at least a week before putting the rule back.
You could make your own with prints from the Slide Rule Museum [0]. 3D printing would make quick work of it, but I'm sure wood or metal units could be accomplished. The cursor benefits from spring loading,
They also have some pretty nice simulators [1], if that's your thing.
[0] https://sliderulemuseum.com/SR_Scales.shtml [1] https://www.sliderulemuseum.com/VirtualSR.shtml
I bought a newly manufactured one from ThinkGeek several years ago, some geek-catering company will pop up and supply pent up demand eventually. Curiosity Box fills that niche right now.
For used, see perhaps "Where to Buy Slide Rules?":