Creating a 2-D Model of the Solar System using Physics-Based Geometries in Java. Brian Tubergen.

Slides:



Advertisements
Similar presentations
UCM & Gravity – Kepler’s Laws
Advertisements

Statistical Analysis of Near Earth Objects By Danielle Bisordi and Kristin Buckley Professor Florescu MA 331 December 3, 2009.
1 Lucifer’s Hammer Derek Mehlhorn William Pearl Adrienne Upah A Computer Simulation of Asteroid Trajectories Team 34 Albuquerque Academy.
From Aristotle to Newton
Semester Physics 1901 (Advanced) A/Prof Geraint F. Lewis Rm 560, A29
Chapter 2 Gravity and Motion Copyright (c) The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Astro: Chapter 3-5. The birth of modern astronomy and of modern science dates from the 144 years between Copernicus’ book (1543) and Newton’s book (1687).
Circular Motion and Gravitation. Centripetal Acceleration Recall linear acceleration vivi vfvf 1. Speeding up a vivi vfvf 2. Slowing down a 3. Going around.
Chapter 7: Circular Motion and Gravitation
Chapter-5: Circular Motion, the Planets, and Gravity Circular Motion: Centripetal acceleration Centripetal force Newton’s law of universal gravitation.
Today’s APODAPOD  Start Reading NASA website (Oncourse)  2 nd Homework due TODAY  IN-CLASS QUIZ NEXT FRIDAY!! The Sun Today A100 Solar System.
Sect. 13.3: Kepler’s Laws & Planetary Motion. German astronomer (1571 – 1630) Spent most of his career tediously analyzing huge amounts of observational.
Chapter 4: Newton and Universal Motion
The History Of Astronomy
Newtonian Gravitation and Orbits
Chapter 7 Law of Gravity & Kepler’s Laws
Gravity & orbits. Isaac Newton ( ) developed a mathematical model of Gravity which predicted the elliptical orbits proposed by Kepler Semi-major.
Special Applications: Central Force Motion
What do you notice about the Orbit of the Planet’s compared to the Comet’s?
Kepler’s first law of planetary motion says that the paths of the planets are A. Parabolas B. Hyperbolas C. Ellipses D. Circles Ans: C.
Newton’s second Law The net external force on a body is equal to the mass of that body times its acceleration F = ma. Or: the mass of that body times its.
History of Astronomy - Part II
Orbits.
More on Kepler’s Laws. Can be shown that this also applies to an elliptical orbit with replacement of r with a, where a is the semimajor axis. K s is.
Planetary Motion 4/28/ b pgs IN: What causes night and day?
Apples and Planets PTYS Feb List of Symbols F, force a, acceleration (not semi-major axis in this lecture) v, velocity M, mass of Sun m,
Gravitation. Gravitational Force and Field Newton proposed that a force of attraction exists between any two masses. This force law applies to point masses.
NSCI 314 LIFE IN THE COSMOS 13 - EXTRASOLAR PLANETS Dr. Karen Kolehmainen Department of Physics, CSUSB
Creating 2-D and 3-D models of the Solar System using physics-based geometries in Java. Brian Tubergen.
Newton’s Law of Universal Gravitation
Chapter 4: Gravity and Orbits
Planetary Orbit Space Objects By: Brittany D. Alexander.
 Everything in outer space  Stars  Planets  Comets  Asteroids & Meteors  Solar System vs Galaxy vs Universe  What’s the difference?  SIZE?!
Kepler's Laws.
Circular Motion Motion that repeats itself is called periodic motion. Projectile motion–since it doesn’t repeat–is not periodic. The motion of a swinging.
PHY 2048C General Physics I with lab Spring 2011 CRNs 11154, & Dr. Derrick Boucher Assoc. Prof. of Physics Session 18, Chapter 13.
T. K. Ng, HKUST Lecture III: (1)Reference frame problem: Coriolis force (2)Circular motion and angular momentum (3)Planetary motion (Kepler ’ s Laws)
6.1 Gravitational fields State Newton’s universal law of gravitation Define gravitational field strength Determine the gravitational.
The Solar System: A Graphical Model Christina Powell.
Planetary Motion 19-1b pgs IN: What causes night and day?
4.1 Motion in a Circle p. 120 Gravity and Motion The force that keeps a body firmly attached to the ground is the same force that keeps the Moon in orbit.
8-4.7 :: Explain the effects of gravity on tides and planetary orbits.
Creating 2-D and 3-D models of the Solar System using physics-based geometries in Java. Brian Tubergen.
Laws of Gravity Luke – I am your Father! NOOOOO OOOOOO OOOOOO OO!!!
Topic: Planetary Motion PSSA: D/S8.D.3.1. Objective: TLW differentiate between rotation and revolution. TLW differentiate between rotation and revolution.
Laws of Planetary Motion KEPLER & NEWTON. Kepler’s 3 Laws  1 st Law- Law of Ellipses  2 nd Law- Law of Equal Areas  3 rd Law- Law of Periods.
Physics Section 7.3 Apply Kepler’s Laws of Planetary Motion The Polish astronomer Nicolas Copernicus was the first to correctly place the sun at the center.
Observing the Solar System A History. Geocentric Model Early astronomers believed that Earth was actually the center of the universe. As early as 6000.
Orbits, Asteroids, and Comets. The Geometry of Orbits Planets revolve in an ellipse around the sun –An ellipse has two fixed points called foci that are.
Newton’s Law of Universal Gravitation by Daniel Silver AP Physics C
History of Astronomy - Part II
Syll. State.: —due Friday, October 3
3.1 Motion in a Circle Gravity and Motion
Creating 2-D and 3-D models of the Solar System using physics-based geometries in Java. Brian Tubergen.
Kepler’s Laws of Planetary Motion
Kepler’s 3 Laws of planetary motion
Modern Astronomy Johannes Kepler was the first astronomer to correctly determine the shape of the planets’ orbits. Isaac Newton, the father of modern.
Newton’s Law of Universal Gravitation & Kepler’s Laws
Science Study Guide 4th Quarter, 7th Grade.
22.1 Early Astronomy.
Newton’s Law of Universal Gravitation & Kepler’s Laws
Gravitational Forces 8.E.4B.2 Construct explanations for how gravity affects the motion of objects in the solar system and tides on Earth.
Kepler’s Laws of Planetary Motion Copyright 2001 by the Rector and Visitors of the University of Virginia.
Kepler’s Laws of Planetary Motion
Orbits Round and round we go!.
Chapter 2 Astronomy.
Aim: How do planets move?
CAPSTONE.lecture 4.Planet motion
History of Astronomy - Part II
Kepler’s Laws and Universal Gravitation
Presentation transcript:

Creating a 2-D Model of the Solar System using Physics-Based Geometries in Java. Brian Tubergen

Purpose/Subject/Goals Create a working simulation of the Solar System Implement Keplerian/Newtonian models to control planetary motion Allow for development of user interaction with simulation: ability to add customizable solar bodies (comets, planets, etc.) at a given location and see what reaction of Solar System is Transition 2-D simulation into 3-D

Scope of Study Program “action at a distance” gravitation force: F = G*m*M/r^2 Acquire real world position/velocity planetary data or find an equation that can give it to me and compare it with simulation Allow for future implementation of non-coplanar orbits (ie: program a z component of position, velocity, etc.) for 3-D purposes

Similar Projects The basic Solar System part of the project is a visual recreation of the Keplerian model of planetary motion Other Solar System simulations exist, but none that I’ve seen allow user interaction to the extent I’d like to with user addition of solar bodies  My program could be modified in future to do this

Theory/Design Program written in Java (for now, for 2-D) Create a class that essentially handles the creation and management of the panel itself (Display class) Create a class that can represent a planet and contains data on that planet’s position, velocity, etc. (Sprite class)

Theory/Design cont. Update the positions of the planets one at a time and iteratively, where at each step the planet’s acceleration is updated based on the position of each other body  a = G*m/r^2  Every solar body’s acceleration is calculated based on every other body, if that makes sense

Testing Acquire real world (or equation based) position and velocity data after one year has passed for each planet and compare to my simulation’s output Verify that my simulation runs more or less correctly (matches real world position data)

Testing Cont.

Problems I ran into Issues with iterative calculation of forces  Solved, although Mercury’s orbit seems to be incorrect Issues handling how to let each planet know about the other planets/bodies in the system  Necessary to calculate accelerations correctly  Solved, although I had to send/receive a lot of data and this probably caused rounding errors

Problems cont. Determining the most intelligent and easiest way to compare position data from my program to position data from NASA  Decided to simply output data and do basic analysis in spreadsheet program

Timeline 1 st quarter:  Get iterative force/acceleration calculations working for multiple bodies interacting 2 nd quarter:  Fix bugs with said calculations and resulting motion 3 rd quarter:  Verify that the equations actually work based on solar system data 4 th quarter:  Wrap up/conclude project; Implement user interaction with simulation if I have time

Results

Results cont. Solar bodies appear to move elliptically, hyperbolically, parabolically, etc. as they should Real initial position/velocity values have been assigned Planetary orbits are mostly circular (as they should be), although Mercury’s appears slightly incorrect

Position Data (my simulation and NASA)

Percent Error

Results cont. Predicted data from my simulation compares favorably to actual data from NASA Inner planets are worse; their movement is a rougher estimate because they move more/faster than outer planets Good predictor for outer planets, however

Causes of error Why are planets closer to the sun “worse” than planets farther from the sun?  They move more in a given time interval than planets farther from the sun  Ultimately means that their accelerations are adjusted less per distance traveled than other planets This is an issue since acceleration depends on location (distance)  This means their accelerations are more incorrect more often, which entails more error

Conclusion Valuable tool for basic visualization of planetary motion Fair predictor of planetary positions for small increments of time  Better for outer planets Possibility for modification  User interaction with simulation  Intrusive body testing – What would solar system’s reaction be to a massive asteroid passing through it, for instance?