Presentation is loading. Please wait.

Presentation is loading. Please wait.

Geocaching: Using Multi-Billion Dollar Technology (and Math) to find Tupperware in the Woods CMC3 Recreational Conference Bruce Armbrust- Lake Tahoe Community.

Similar presentations


Presentation on theme: "Geocaching: Using Multi-Billion Dollar Technology (and Math) to find Tupperware in the Woods CMC3 Recreational Conference Bruce Armbrust- Lake Tahoe Community."— Presentation transcript:

1 Geocaching: Using Multi-Billion Dollar Technology (and Math) to find Tupperware in the Woods CMC3 Recreational Conference Bruce Armbrust- Lake Tahoe Community College April 28, 2012

2 What is Geocaching? Containers are hidden around the world. The coordinates of their locations are posted online at geocaching.com Users with hand held GPS receivers go to the posted coordinates. They search (and search and search and…) They open the container, sign the log sheet, trade items if desired, and move on to their next target.

3 What is it really? An excuse to explore the world. A chance to solve puzzles. A great way to spend free time. An OBSESSION!!!

4 The Math Behind The Machine

5 GPS Satellites

6 The Calculations Each satellite sends its position and time encoded within every signal. The receiver determines the change in time between transmission and receipt of signal. The location of the receiver is then on the sphere given by

7 The Calculations-continued In a perfect world, four satellites would be sufficient (or three with an assumption). In OUR world, the receiver’s clock may be out of time with the satellites and therefore an error is quite likely. This means the receiver is actually on the sphere

8 Return of The Calculations Expanding and rearranging terms gives Creating the right inner product turns this into Which allows us to form a matrix equation which has a least squares solution given more than 4 satellites. Even better, the solution to the least squares comes from a quadratic equation when enough “trickery” is applied.

9 Wandering Around The Woods

10 Traveling Salesman Problem A Salesman must visit each of n cities that are connected by a series of roads. Because of the well known identity Time=Money, she wants to do it as quickly as possible. What route should she take so that each city is visited and the distance traveled is minimized?

11 Wandering Geocacher Problem Mathprofessor needs to feed his geocaching addiction by finding n caches. Because he feels bad for turning his wife into a geo-widow, he wants to find them as quickly as possible. What route should he take so that each GZ is visited and the distance traveled is minimized?

12 My Prey…

13 Only 40,320 Choices

14 How Will We Find the Route? By picking a starting point, the number of possible routes drops to 5040. Obviously, we can use a computer to check all 5040, but where is the fun in that? Let’s try the Twice-round-the-Tree Algorithm

15 Twice-Round-the-Tree Start by creating a minimal spanning tree for the graph. Duplicate each edge of the tree and find a closed Eulerian path. Start at the point of your choice and follow the path. Skip any previously visited vertices and instead go to the next unvisited vertex on the path.

16 The Numbers Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) AB0.5BC0.2CE0.8DH0.5 AD0.5BD0.7CF0.6EF0.2 AC1.1BE0.7CG0.6EG0.3 AE1.1BF0.5CH0.3EH0.5 AF0.9BG0.5DE0.1FG0.2 AG1.0BH0.4DF0.2FH0.4 AH0.8CD0.8DG0.2GH0.3

17 Build a Minimal Spanning Tree Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) AB0.5BC0.2CE0.8DH0.5 AC0.5BD0.7CF0.6EF0.2 AD1.1BE0.7CG0.6EG0.3 AE1.1BF0.5CH0.3EH0.5 AF0.9BG0.5DE0.1FG0.2 AG1.0BH0.4DF0.2FH0.4 AH0.8CD0.8DG0.2GH0.3 The line segments chosen above give a minimal spanning tree.

18 Minimal Spanning Tree #1

19 Doubled Tree #1

20 Notes on Tree #1 This Eulerian path leads to four different routes. Not all of them have the same total length The shortest path (HCABGFEDH) has a total distance of 2.8 miles.

21 Best Path From Tree #1

22 The Numbers Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) AB0.5BC0.2CE0.8DH0.5 AD0.5BD0.7CF0.6EF0.2 AC1.1BE0.7CG0.6EG0.3 AE1.1BF0.5CH0.3EH0.5 AF0.9BG0.5DE0.1FG0.2 AG1.0BH0.4DF0.2FH0.4 AH0.8CD0.8DG0.2GH0.3

23 Build a Minimal Spanning Tree Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) AB0.5BC0.2CE0.8DH0.5 AC0.5BD0.7CF0.6EF0.2 AD1.1BE0.7CG0.6EG0.3 AE1.1BF0.5CH0.3EH0.5 AF0.9BG0.5DE0.1FG0.2 AG1.0BH0.4DF0.2FH0.4 AH0.8CD0.8DG0.2GH0.3 The line segments chosen above give a different minimal spanning tree.

24 Build a Minimal Spanning Tree Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) Line Segment Distance (miles) AB0.5BC0.2CE0.8DH0.5 AC0.5BD0.7CF0.6EF0.2 AD1.1BE0.7CG0.6EG0.3 AE1.1BF0.5CH0.3EH0.5 AF0.9BG0.5DE0.1FG0.2 AG1.0BH0.4DF0.2FH0.4 AH0.8CD0.8DG0.2GH0.3 The line segments chosen above give yet a third minimal spanning tree.

25 More Spanning Trees Minimal Spanning Tree #2Minimal Spanning Tree #3

26 Hmmmm…. The shortest path for tree #2 is 2.8 miles. The shortest path for tree #3 is 2.9 miles. The shortest path (HCABGFEDH) has a total distance of 2.8 miles.

27 Best Paths Minimal Spanning Tree #1Minimal Spanning Tree #3

28 More questions Are these paths the shortest we can find? If not, how can we find a shorter one? What about real world implications?

29 Two better paths Path of length 2.7 milesPath of length 2.6 miles

30 The Real World

31 Theory vs. Reality Theoretical Best PathActual Route Traveled

32 Puzzle Caches

33 Some of my favorites A Cache Landing A Trying Triangle AP Calculus Sampler Calculus 301 Calculus 329 Canadians Have Large Clocks Crash Cache Sum Fun The Magic Square Cache Trig 106 Trig 110 Venn Diagram

34 The Ultimate FTF

35 Bruce’s Contact Information If you would like more information on Geocaching or the mathematics behind it, feel free to contact me. Bruce Armbrust a.k.a. mathprofessor Lake Tahoe Community College bruce.armbrust@hotmail.com 530-541-4660 x314


Download ppt "Geocaching: Using Multi-Billion Dollar Technology (and Math) to find Tupperware in the Woods CMC3 Recreational Conference Bruce Armbrust- Lake Tahoe Community."

Similar presentations


Ads by Google