| You can use any of the graphics techniques (Swing, 
              AWT, Java2D, etc) for the following exercises:  
             
              For the programs you created for Chapter 
                6: Physics : Exercise #1, add control components such as buttons 
                and input components such as textfields that allow the user to 
                re-run the program easily with new setup values. 
 
Create a program similar to RanDistAnglesApplet.java 
                that allows the user to choose from several different polynominal 
                shapes for the random number distribution.
 
Create a GUI that displays 3 different histograms, each with 
                a different example distribution for use with the Histogram 
                Distribution method. Allow the user to choose one of these 
                three histograms as the guide to generate a random distribution 
                for display in a fourth histogram on the interface. 
 
Modify the MCPlotApplet 
                Monte Carlo integration example 
                to add more capabilities such as a text field to let the user 
                input the number of scatter points, text fields to modify limits 
                on the x and y 
                values, a JList 
                to select more than one function to integrate, etc. Modify the 
                sine function so that the phase and frequency can be varied as 
                well.    Last update: Oct. 22, 2005 |