Pick and drag new initial point in the viewer window. This modifies the initial
x
andy
values. Initial values of higher derivative ofy
can 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
i
to switch back to mode allowing picking of initial values:
i pick initial x
andy
valuesThe 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 y
must be denoteddy, d2y
ord3y
. 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.