Calculate Picard Iterates for the IVP y′=fx,y,yx0=y0
Description
Calculate an iterative solution to an ODE by using Picard's method.
Picard Iterates for the IVP y′=fx,y,yx0=y0
The function fx,y
f≔x,y→x+y2
f:=x,y→x+y2
Set a=x0
a≔0
a:=0
Set φ0=yx0=y0
φ0≔0
φ0:=0
Number of iterates
N≔3
N:=3
Picard Iterates
for k from 0 to N−1 do φk+1≔unapplyφ0+∫axf⁡t,φk⁡tⅆt,x; printnprintfIterate number %d:,k+1 printφk+1x end do:
Iterate number 1:
12⁢x2
Iterate number 2:
12⁢x2+120⁢x5
Iterate number 3:
14400⁢x11+1160⁢x8+120⁢x5+12⁢x2
Commands Used
unapply
See Also
dsolve, for, print
Download Help Document
What kind of issue would you like to report? (Optional)