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

Introduction
Overview
Streams
Wrappers,Buffers
Console I/O
  Text Output 
     Demo 1

  Formatter/printf()
     Demo 2

  Tex 2t Input
     Demo 3

  Scanner
     
Demo 4
File Class
  File I/O
  File Output-Text
     Demo 5

  Formatter to File
     Demo 6

  File Input - Text
    Demo 7

  Scanner - Files
     Demo 8

  File I/O - Binary
     Demo 9
   Demo 10
File Chooser Dialog
  Demo 11

Character Codes
  Demo 12
   Demo13
Object I/O
Types to Bytes
Stream Filters
Other I/O Topics
Exercises

     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

 

  1. Add menubar with menus and/or other selection UI components that allow the user to selection options for:
    1. The drop range.
    2. Number of measurement lines
    3. Value of the constant gravitational acceleration.
    4. Std. Dev. value for the smearing of the measurements

  2. Modify the one of the drop simulations to include drag effects. Provide the user the option of setting different drag constants. The user should also have the option to either study the effects of drag on the acceleration or assume a known acceleration and measure the drag constant.

  3. Take the case of the experiment simulation with analysis class and separate out the analysis class into its own standalone application. Let the simulation produce a data file of N number of drops, where N is set by the user. Give the analysis program the ability to read in such a data file and display the fit results. Include histograms showing the distribution of values of interest such as the fitted parameters, the fit residuals distribution (i.e. data[j]-fit[j]), etc.

 

              Tech
Histogram I/O
Hist I/O - Get/Set
  Demo 1
Hist I/O - Objects
  Demo 2
HistogramStream
  Demo 3
Filtering Data
  Demo 4
Exercises

           Physics
Physics Model
Simulation Design
Physics Simulator
  Demo 1
Experiment Design
Experiment Sim.
  Demo 2
Analysis
Expt. + Analysis
  Demo 3
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.