Why Does a Slide Rule Work? - Home | Computer Sciencepasquale/SlideRuleTalkLasVegas... ·...
Transcript of Why Does a Slide Rule Work? - Home | Computer Sciencepasquale/SlideRuleTalkLasVegas... ·...
Why Does a Slide Rule Work?
Joe Pasquale Department of Computer Science and Engineering
University of California, San Diego
J. Pasquale
Geometric Basis
• Two in-line line segments: AB and BC
2
A B C
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Geometric Basis
• Two in-line line segments: AB and BC • Sum of lengths = length of sum
L(AB) + L(BC) = L(AB+BC) = L(AC)
3
A B C
Length (AB) Length (BC)
Length (AC)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Slide Rule Scales
• Multiple scales • Represent various functions • Parallel to each other
4 Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Slide Rule Scales
• Slide allows us to add lengths • But labels are not lengths!
5 Oughtred Society, Las Vegas, 2014
1.2 2.5
A B C
J. Pasquale, UCSD
What is a Slide Rule Scale?
• Scale: finite line with graduated marks
6
log x
x
1 2 3 4 5 6 7 8 9 10
f(2)
x
f(x)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
What is a Slide Rule Scale?
• Scale: finite line with graduated marks • Each mark corresponds to a value x
7
log x
x
1 2 3 4 5 6 7 8 9 10
f(2)
x
f(x)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
What is a Slide Rule Scale?
• Scale: finite line with graduated marks • Each mark corresponds to a value x • Located at a distance f(x) from origin
8
log x
x
1 2 3 4 5 6 7 8 9 10
f(2)
x
f(x)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
What is a Slide Rule Scale?
• Scale: finite line with graduated marks • Each mark corresponds to a value x • Located at a distance f(x) from origin • f(x) is the function of the scale
9
log x
x
1 2 3 4 5 6 7 8 9 10
f(2)
x
f(x)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
From 2 Dimensions to 1
10
100 1 2 3 4 5 6 7 8 9
1
0
0.2
0.4
0.6
0.8
x
log x
log x
x
1 2 3 4 5 6 7 8 9 10 x
log x
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Example: Graph for f(x) = x2
11
50 1 2 3 4
0
5
10
15
20
25
x
y5
4
3
2
10
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Copy x-axis Marks to y-axis
12
50 1 2 3 4
0
5
10
15
20
25
x
y5
4
3
2
10
Oughtred Society, Las Vegas, 2014
x-ax
is m
arks
y-ax
is m
arks
J. Pasquale, UCSD
Next, Flip About Its Diagonal
13
50 1 2 3 4
0
5
10
15
20
25
x
y5
4
3
2
10
Oughtred Society, Las Vegas, 2014
x-ax
is m
arks
y-ax
is m
arks
J. Pasquale, UCSD
Resulting Graph
14
0 5 10 15 20 25
5
0
1
2
3
4
y
x
543210
Oughtred Society, Las Vegas, 2014
x-axis marks y-axis marks
J. Pasquale, UCSD
Focus on New x-axis
15
0 5 10 15 20 25
5
0
1
2
3
4
y
x
543210
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Remove Original y-axis Marks
16
0 5 10 15 20 25
5
0
1
2
3
4
y
x
543210
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Resulting Scale
• Scale for f(x) = x2 • Notice
– Each mark is labeled by x – Distance from left end is f(x) = x2
17
543210
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Calculating Using Scales
• 2 scales, each f(x) = x2
• Resulting function:
• In the above,
18
543210
543210
f (x, y) = x2 + y2
32 + 42 = 5
x
y h
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Key Property of Sliding Scales
19
g(y´)
g(y˝)
f(x´)
f(x˝)
g(y˝) – g(y´)
f(x˝) – f(x´) x´ x˝ f(x)
y´ y˝ g(y)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Key Property of Sliding Scales
20
g(y´)
g(y˝)
f(x´)
f(x˝)
g(y˝) – g(y´)
f(x˝) – f(x´) x´ x˝ f(x)
y´ y˝ g(y)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Key Property of Sliding Scales
21
f ( !!x )− f ( !x ) = g( !!y )− g( !y )
g(y´)
g(y˝)
f(x´)
f(x˝)
g(y˝) – g(y´)
f(x˝) – f(x´) x´ x˝ f(x)
y´ y˝ g(y)
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Mathematical Principle of the Slide Rule
• A slide rule with two scales that are defined by the functions f(x) and g(y) can calculate any function of the form:
22
h(x, y, z) = f −1( f (x)+ g(y)− g(z))
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Some Examples: Addition
• Given f(x) = x, g(y) = y
23
h(x, y, z) = f −1( f (x)+ g(y)− g(z))
h(x, y, 0) = f −1(x + y− 0) = x + y
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Hypotenuse of Right Triangle
• Given f(x) = x2, g(y) = y2
24
h(x, y, z) = f −1( f (x)+ g(y)− g(z))
h(x, y, 0) = f −1(x2 + y2 − 0) = x2 + y2x
y h
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Resistors in Parallel
• Given f(x) = 1/x, g(y) = 1/y
25
h(x, y, z) = f −1( f (x)+ g(y)− g(z))
h(R1,R2,∞) = f−1( 1R1+1R2− 0) = 1
1R1+1R2
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
What about Logarithms?
• Most slide rules have logarithmic scales • Why?
– Because they lead to a wide range of very useful types of calculations
26 Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Multiplication
• Given f(x) = log x, g(y) = log y
27
h(x, y, z) = f −1( f (x)+ g(y)− g(z))
h(x, y,1) =f −1(log x + log y− 0) =10log x+log y = xy
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Raising to a Power
• Given f(x) = log log x, g(y) = log y
28
h(x, y, z) = f −1( f (x)+ g(y)− g(z))
h(x, y,1) =f −1(loglog x + log y− 0) =10y log x = xy
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
Raising to a Power
• Given f(x) = log log x, g(y) = log y
29
h(x, y, z) = f −1( f (x)+ g(y)− g(z))
h(x, y, z) =
f −1(loglog x + log y− log z) =10yzlog x
= xyz
Oughtred Society, Las Vegas, 2014 J. Pasquale, UCSD
UCSD Slide Rule Seminar
• Started seminar in 2003 • Students come from all areas
– Engineering, physical sciences, some humanities
Oughtred Society, Las Vegas, 2014 30 J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 31
Why Teach about Slide Rules?
• Engineering heritage
• Power of slide rules vs. computers
• Interesting mathematics
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 32
Why Are Students Interested?
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 33
Why Are Students Interested?
“I have no idea what a slide rule is, but I know engineers used them to build great things”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 34
Why Are Students Interested?
“I thought it would be cool to learn how to use a slide rule and show my friends”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 35
Why Are Students Interested?
“My dad used a slide rule, and I want to learn about it (and show him)”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 36
Topics
• How the slide rule works
• The math behind the slide rule
• Precision vs. accuracy
• How to construct all the scales
• Advanced Topics J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 37
Larger Lessons
• Economy of calculating – slide rules – calculators – computers
• Estimation, approximation • Social value
– parents, grandparents
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 38
Quotes
“My skills of estimation are getting better. I like being engrossed in the calculations, instead of just punching them into my calculator. I make less mistakes, and find I know what I am talking about.”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 39
Quotes
“I was in physics class, and the professor explained how tan and sin are close for really small angles. The class didn’t show much reaction, but my first thought was “Hey, I learned that from my slide rule seminar.”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 40
Quotes
“This slide rule seminar is the only thing saving me from a quarter full of literature writing, and other humanitarian monotony. After hours of ‘theory of literature,’ I realized I still had slide rule homework. Hurray!”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 41
Quotes
“The slide rule is truly an extension of a person, not something completely separate such as the calculator. I actually had to think before, during, and after getting the answer on the slide rule.”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 42
Quotes
“The more I use the slide rule, the greater the insight I have into how ingeniously the scales were put together. I hope I can re-teach my parents how to use it.”
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 43
Masters of the Slide Rule ‘03
Masters of the Slide Rule, Winter ‘03
J. Pasquale, UCSD
Oughtred Society, Las Vegas, 2014 44
FOR MORE INFO
Joe Pasquale Dept. of Computer Science & Engineering University of California, San Diego [email protected] http://www-cse.ucsd.edu/~pasquale Paper is available at
http://cseweb.ucsd.edu/~pasquale/Papers/IM11.pdf J. Pasquale, UCSD