Sample 06


This is an applet for graphically displaying the result of compounding an investment at a fixed rate for a number of years. A stacked bar graph displays the amount of the original investment relative to the total value after compounding.



To run the program, you must be familiar with how to run Java sample code using a "test" project. If you already have a test project, copy and paste the source statements of this Sample06.txt file into the source file of your test project. Then, re-build the test project and launch the App.html file using an applet viewer or a web browser.