Home : Map : Chapter 11 :Java : Tech : Physics :
Exercises
JavaTech
Course Map
Chapter 11

Introduction
Image Class
Image Loading
  Demo 1 Demo 2  
Pixels/Transparency
  Demo 3
Pixel Handling
  Demo 4  
Demo 5
Exercises

    Supplements
Java 2D Imaging
BufferedImage
Creating Buf.Image
Pixel Handling
  Demo 1 Demo 2
Filters
  Convolutions
     Demo 3
  AffineTransforms
     Demo 4
  LookupTable
     Demo 5 Demo 6
  Rescale
     Demo 7
  Color Conversion
     Demo 8
  Custom
     Demo 9
Exercises
Java Adv Imaging
AWT Flicker:
  Override Update
     Demo 1  Demo 2
  Clipping
     Demo 3
  Double Buffer
     Demo 4

     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New
  1. In a mass drop experiment, there could be variations in the calibration offsets for the measurements made along the drop path through the detector. Modify the drop generator and analysis programs to include an array of calibration constants with the elements corresponding to each measurement..

  2. The mass moves faster and faster as it drops through the detector. It therefore is probable that the error on the position measurements will change according to the measurement position. Modify the drop generator to increase the smearing of the position measurement as the mass moves down through the detector.

  3. For a given drop, there could always be some measurements with anomalous values, e.g. an intermittent instrument failure or a problem occuring at particular places in the detector. Modify the generator to allow for a subset of measurements to vary significantly from nominal values. Study the affect of the number and size of these anomalous measurements on the resulting calculation of the acceleration constant.

Projects

  1. The Sun demo program shown in Chapter 1: Physics displays 3-D molecules that can be rotated with the mouse. The file XYZApp.java holds the following classes:
    • XYZApp - controls the applet UI
    • XYZChemModel - reads in the file holding the relative coordinates of the center of each atom in a given molecule. Each instance represents the molecule and holds its relevant data.
    • Atom - creates an image for each atom in the molecule.

    The program also uses the utility classs Matrix3D to do the rotations arithmetic.

    Create a new program along the same lines but use a Swing frame for the UI, provide a dropdown menu to select the particular molecule to view, and use Java2D graphics and image handling to display the molecules.

 

              Tech
Fractals
Fractal Drawing
   Demo 1
Fractal Draw Code
Fractal Images
  Demo 2
Image Processing
  Demo 3
Histogram Image
  Demo 4
Exercises

           Physics
Calibration/SysError
SimWithCal/SysErr
  Demo 1
Analysis
  Demo 2
Examples

Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.