|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.controls.AbstractCalculation
org.opensourcephysics.sip.ch02.FallingParticlePlotApp
public class FallingParticlePlotApp
FallingParticlePlotApp computes the time for a particle to fall to the ground and plots the position as a funciton of time.
| Field Summary |
|---|
| Fields inherited from class org.opensourcephysics.controls.AbstractCalculation |
|---|
control, decimalFormat, mainFrame |
| Constructor Summary | |
|---|---|
FallingParticlePlotApp()
|
|
| Method Summary | |
|---|---|
void |
calculate()
Calculates the trajectory of a falling particle and plots the position as a function of time. |
static void |
main(java.lang.String[] args)
Starts the Java application. |
void |
reset()
Resets the program to its initial state. |
| Methods inherited from class org.opensourcephysics.controls.AbstractCalculation |
|---|
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FallingParticlePlotApp()
| Method Detail |
|---|
public void calculate()
calculate in interface Calculationcalculate in class AbstractCalculationpublic void reset()
reset in class AbstractCalculationpublic static void main(java.lang.String[] args)
args - command line parameters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||