|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.sip.ch09.OscillatorsMode
public class OscillatorsMode
OscillatorsMode models a chain of oscillators in a single mode.
| Method Summary | |
|---|---|
void |
draw(DrawingPanel panel,
java.awt.Graphics g)
Draws the normal mode's initial condtion |
double |
evaluate(double x)
Evaluates the displacement for an oscillator at postion x |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public double evaluate(double x)
evaluate in interface Functionx - postion along chain
public void draw(DrawingPanel panel,
java.awt.Graphics g)
draw in interface Drawablepanel - DrawingPanelg - Graphics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||