org.opensourcephysics.sip.ch11
Class NumericalIntegrationApp

java.lang.Object
  extended by org.opensourcephysics.controls.AbstractCalculation
      extended by org.opensourcephysics.sip.ch11.NumericalIntegrationApp
All Implemented Interfaces:
Calculation

public class NumericalIntegrationApp
extends AbstractCalculation

NumericalIntegrationApp implements a visualization of the integral of f(x) from x = a to x = b.


Field Summary
 
Fields inherited from class org.opensourcephysics.controls.AbstractCalculation
control, decimalFormat, mainFrame
 
Constructor Summary
NumericalIntegrationApp()
           
 
Method Summary
 void calculate()
          Does the calculation.
static void main(java.lang.String[] args)
           
 void reset()
          Resets the program to its default 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

NumericalIntegrationApp

public NumericalIntegrationApp()
Method Detail

reset

public void reset()
Description copied from class: AbstractCalculation
Resets the program to its default state. Override this method to set the program's parameters.

Overrides:
reset in class AbstractCalculation

calculate

public void calculate()
Description copied from class: AbstractCalculation
Does the calculation.

Specified by:
calculate in interface Calculation
Specified by:
calculate in class AbstractCalculation

main

public static void main(java.lang.String[] args)