Lecture 12A
Browsers
System Properties

Cursor Icons
MouseButtons
Keystrokes
Audio
Timing
Toolkit
AppletContext
Run Ext. Programs
Misc. Tools

Lectures

1A: Introduction
1B: Java Intro
2A: BuildingBlocks
2B: Objects
3A: More Objects
3B: Exceptions
       & Threads
4A: Waves
4B: Nuclear &
       Particle
5A: AWT
5B: More AWT
      & Graphics
6A:Detectors &
      Simulation
6B: LHC/Atlas &
     RandomSims    
7A: Swing
7B: Java2D
8A: Java Apps
8B: Dialogs &
    MoreClasses
9A: Java I/O
9B: Utilities,
        Unicode
10A: More
    Threading
10B: File
    Handling
11A: Array,Print,
    Images
11B: SimplePhysics
    Simulation
12A: Tips &
    Techniques
12B: More Tips &
    Techniques
13A: Satellite
    
Simulations
13B: Intro to Java
    Networking
14A: Java Servers
14B: HTTP Server
15A: ServerClient
15B: ServerClient
   Expt.Simulation
16A: Course
          Review
16B: ExerciseTest
        Discussion

    Contacts
    Description
    Exercises
    Index
    Outline
    Q&A
    Resources
    StudentInfoForm
    Student Pages
    What's New

 

Home : Lectures : Lecture 12A: Title Page
Lecture 12A: Java Tips & Techniques

NASA's Observatorium

Kepler's Three Laws of Planetary Motion

Law 2: The straight line joining the Sun and a planet sweeps out equal areas in equal intervals of time.


orbit2.java

When the satellite orbits the Earth in a highly elliptical path, you can readily see how it slows down as it moves far away from the Earth, and how it speeds up as it gets close to the Earth. It's the same effect you get when you throw a ball up into the air. The ball slows down as it climbs to its greatest height, and speeds up as it falls back down.

In the orbit simulation of Kepler's second law, the satellite is joined by a straight line with the center of the Earth. Watch the area swept out by this line. When the satellite is far from the Earth, the line is long and the satellite moves slowly. When the satellite is near the Earth, the line is short and the satellite moves quickly. The length of the line and the speed of the satellite are such that no matter where in its orbit the satellite is, the line sweeps out the same area in any given time interval.

You can click on the yellow part of the bar on the right and, by dragging, enlarge the swept-out area.

Comments to: Observatorium Curator (curator@rspac.ivv.nasa.gov)

Copyright © 1995-1998 BDM Federal, Inc. All rights reserved (with exceptions noted).

 

 

 

Home Lectures Resources Index Contacts Students


Physics Simulations with JavaTM
KTH, Kurskod: 5A1418
Curator: Clark S. Lindsey