A Basic Applet for simple Simulations


This is a very basic Applet to demonstrate how one can implement a simple simulation. It has for input some numerical data and also a function which is to be entered by clicking the mouse on a plot. The results are displayed also as a plot.

The simulation actually done is the flight of a stone thrown up with an initial velocity (m/s) which one enters on the first page. Hit Return-key to make your entry valid. Then click the Input-plot-button to show the plot for the input function. This is not yet used, but I made it necessary to enter at least two points anywhere on the plot area. (It's similar to entering graphical data in the ChemFlows Applet) Then click the Input-plot-button again, so that the Compute-button can be clicked. After this, one looks at the results by clicking the Result-button and chosing the variables.

The source code (30 kB) is available, but I am still working on this thing!!!




| Applet Index |