Lecture 11A
Arrays
Printing Screen
Images
Image Loading
Pixel Handling
Transparency
Image Saving

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 11A Title Page
Lecture 11A: Arrays, Printing & Images

NASA's Observatorium

Kepler's Three Laws of Planetary Motion

Law 1: Each planet revolves around the Sun in an elliptical path, with the Sun occupying one of the foci of the e


orbit1.java

Watch the motion of the satellite. It traces out an elliptical orbit about the Earth. The elliptical orbit has the shape of a "squashed" circle, although there is a precise mathematical equation that describes it. The Earth is off-center, namely at one of the foci of the ellipse.

Move the arrow in the bar on the right up or down. This changes the eccentricity, or shape, of the elliptical orbit. An eccentricity of zero (when the arrow is at the bottom of the bar) means the orbit is a circle. An eccentricity closer to one means the orbit is more elongated.

If you move the arrow into the yellow part of the bar, the satellite comes very near to crashing into the Earth during its closest approach. If you move the arrow into the red part of the bar, the satellite will actually crash.

Note that the sizes of the Earth, satellite, and orbit are not drawn to realistic scales.

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