numerically approximate the solution to a first order initial value problem - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : Numerical Analysis : Interactive : Student/NumericalAnalysis/InitialValueProblemTutor

Student[NumericalAnalysis][InitialValueProblemTutor] - numerically approximate the solution to a first order initial value problem

 Calling Sequence InitialValueProblemTutor(ODE, IC, t=b) InitialValueProblemTutor(ODE) InitialValueProblemTutor()

Parameters

 ODE - equation; first order ordinary differential equation of the form $\frac{ⅆ}{ⅆt}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}y\left(t\right)=f\left(t,y\right)$ IC - (optional) equation; initial condition of the form y(a)=c, where a is the left endpoint of the initial-value problem t - (optional) name; the independent variable b - (optional) algebraic; the point for which to solve; the right endpoint of this initial-value problem

Description

 • The InitialValueProblemTutor command launches a tutor interface that computes, plots, and compares numerical approximations to y(b), the exact solution to the given initial-value problem, using various numerical techniques.
 • If InitialValueProblemTutor is called with no arguments, InitalValueProblemTutor(), it uses a default initial-value problem.
 • If IC is not specified, InitialValueProblemTutor uses a default initial condition.
 • If the t = b argument is not specified, InitialValueProblemTutor uses a default endpoint.
 • Any of the following methods can be used:
 – Euler
 – Taylor
 – Runge-Kutta Midpoint
 – Runge-Kutta Order Three
 – Runge-Kutta Order Four
 – Runge-Kutta-Fehlberg
 – Runge-Kutta Heun
 – Runge-Kutta Modified Euler
 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{NumericalAnalysis}\right]\right):$
 > $\mathrm{InitialValueProblemTutor}\left(\right)$
 > $\mathrm{InitialValueProblemTutor}\left(\mathrm{diff}\left(y\left(t\right),t\right)=\mathrm{cos}\left(t\right),y\left(1\right)=4.23,t=5\right)$
 > $\mathrm{InitialValueProblemTutor}\left(\mathrm{diff}\left(f\left(x\right),x\right)=f\left(x\right)-{x}^{2},f\left(0\right)=0.5,x=3\right)$