Pick and drag new initial point in the viewer window. This modifies the initial
xandyvalues. Initial values of higher derivative ofycan be modified inside the text fieldInitial y.Type a new differential equation. Whenever you type in a text field press enter to submit your changes. Use keyboard key
ito switch back to mode allowing picking of initial values:
i pick initial xandyvaluesThe integrator is a fourth-order Runge-Kutta method with constant step size.
Controls in ODE project panel:
ODE text field Type a new ordinary differential equation. Higher derivatives of ymust be denoteddy, d2yord3y. In this text field you can use all mathematical functions shown in Expressions.html.Text field "Order" Defines the order (highest derivative of y) of the differential equationSlider "Step Size" Discretization for x-valuesSlider "Length" Length of the x-interval to evaluate the differential equation.Slider "Initial x" Minimum value for x-intervalText fields "Initial y" The first text field shows the initial y-value, the second text field shows the initial value of the first derivative ofy, if "Order" is greater than 2, further text fields for the higher derivatives are displayed.View source code:
PaExprOde.java of applet,
PjExprOde.java of project,
PjExprOde_IP.java of project panel.