9.5 KB · commit a9602da
8.1. Given dxdy=1+xy,y(0)=1, obtain the Taylor series for y(x) and compute y(0.1), correct to four decimal places.
8.2. Show that the differential equation dx2d2y=−xy,y(0)=1andy′(0)=0, has the series solution y=1−3!x3+6!1×4x6−9!1×4×7x9+⋯
8.3. If dxdy=x2+y1with y(4)=4, compute the values of y(4.1) and y(4.2) by Taylor's series method.
8.4. Use Picard's method to obtain a series solution of the problem given in Problem 8.1 above.
8.5. Use Picard's method to obtain y(0.1) and y(0.2) of the problem defined by dxdy=x+yx4,y(0)=3.
8.6. Using Euler's method, solve the following problems:
(a) dxdy=53x3y,y(0)=1
(b) dxdy=1+y2,y(0)=0
8.7. Compute the values of y(1.1) and y(1.2) using Taylor's series method for the solution of the problem y′′+y2y′=x3,y(1)=1andy′(1)=1.
8.8. Find, by Taylor's series method, the value of y(0.1) given that y′′−xy′−y=0,y(0)=1andy′(0)=0.
8.9. Using Picard's method, find y(0.1), given that dxdy=y+xy−xandy(0)=1.
8.10. Using Taylor's series, find y(0.1), y(0.2) and y(0.3) given that dxdy=xy+y2,y(0)=1.
8.11. Given the differential equation dxdy=x2+y with y(0)=1, compute y(0.02) using Euler's modified method.
8.12. Solve, by Euler's modified method, the problem dxdy=x+y,y(0)=0. Choose h=0.2 and compute y(0.2) and y(0.4).
8.13. Given the problem dxdy=f(x,y)andy(x0)=y0,
an approximate solution at x=x0+h is given by the third order Runge–Kutta formula y(x0+h)=y0+61(k1+4k2+k3)+R4, where k1=hf(x0,y0),k2=hf(x0+21h,y0+21k1) and k3=hf(x0+h,y0+2k2−k1). Show that R4 is of order h4.
8.14. Write an algorithm to implement Runge–Kutta fourth order formula for solving an initial value problem.
Find y(0.1), y(0.2) and y(0.3) given that
y′=1+1+x22xy,y(0)=0
8.15. Use Runge–Kutta fourth order formula to find y(0.2) and y(0.4) given that y′=y2+x2y2−x2,y(0)=1.
8.16. Solve the initial value problem defined by dxdy=x+2y3x+y,y(1)=1 and find y(1.2) and y(1.4) by the Runge–Kutta fourth order formula.
8.17. State Adams' predictor-corrector formulae for the solution of the equation y′=f(x,y),y(x0)=y0. Given the problem y′+y=0,y(0)=1, find y(0.1), y(0.2), and y(0.3) by Runge–Kutta fourth order formula and hence obtain y(0.4) by Adams' formulae.
8.18. Given the initial value problem defined by dxdy=y(1+x2),y(0)=1 find the values of y for x=0.2,0.4,0.6,0.8 and 1.0 using the Euler, the modified Euler and the fourth order Runge–Kutta methods. Compare the computed values with the exact values.
8.19. State Milne's predictor-corrector formulae for the solution of the problem y′=f(x,y),y(x0)=y0. Given the initial value problem defined by y′=y2+xy,y(0)=1, find, by Taylor's series, the values of y(0.1), y(0.2) and y(0.3). Use these values to compute y(0.4) by Milne's formulae.
8.20. Using Milne's formulae, find y(0.8) given that dxdy=x−y2,y(0)=0,y(0.2)=0.02,y(0.4)=0.0795andy(0.6)=0.1762.
8.21. Explain what is meant by a fourth order formula. Discuss this with reference to the solution of the problem dxdy=3x+2y,y(0)=1 by Runge–Kutta fourth order formula.
8.22. Use Taylor's series method to solve the system of differential equations dtdx=y−t,dtdy=x+t with x=1,y=1 when t=0, taking Δx=Δt=0.1.
8.23. Using fourth order Runge–Kutta method, compute the value of y(0.2) given that dx2d2y+y=0 with y(0)=1 and y′(0)=0.
8.24. Given that y′′−xy′+4y=0,y(0)=3,y′(0)=0, compute the value of y(0.2) using Runge–Kutta fourth order formula.
8.25. Solve the boundary value problem defined by y′′−y=0,y(0)=0,y(1)=1, by finite difference and cubic spline methods. Compare the solutions obtained at y(0.5) with the exact value. In each case, take h=0.5 and h=0.25.
8.26. Shooting method This is a popular method for the solution of two-point boundary value problems. If the problem is defined by
y′′=f(x),y(x0)=0andy(x1)=A,
then it is first transformed into the initial value problem
y′(x)=z,z′(x)=f(x),
with y(x0)=0 and z(x0)=m0, where m0 is a guess for the value of y′(x0). Let the solution corresponding to x=x1 be Y0. If Y1 is the value obtained by another guess m1 for y′(x0), then Y0 and Y1 are related linearly. Thus, linear interpolation can be carried out between the values (m0,Y0) and (m1,Y1).
Obviously, the process can be repeated till we obtain a value for y(x1) which is close to A.
Apply the shooting method to solve the boundary value problem y′′=y(x),y(0)=0andy(1)=1.
8.27. Fyfe [1969] discussed the solution of the boundary value problem defined by y′′+1+x24xy′+1+x22y=0,y(0)=1andy(2)=0.2. Solve this problem by cubic spline method first with h=1 and then with h=1/2 to determine the value of y(1). Compare your results with the exact values of y(1) obtained from the analytical solution y=1/(1+x2).
8.28. Method of Linear Interpolation Let the boundary value problem be defined by y′′+f(x)y′+g(x)y=p(x), y(x0)=y0andy(xn)=yn. Set up the finite difference approximation of the differential equation and solve the algebraic equations using the initial value y0 and assuming a value, say Y0, for y(x1). Again, we assume another value for y(x1), say Y1 and then compute the values of y2,y3,…,yn−1 and yn. We, thus, have two sets of values of y(x1) and y(xn). Now we use linear interpolation formula to compute the value of y(x1) for which y(xn)=yn. The process is repeated until we obtain the value of y(xn) close to the given boundary condition (see Problem 8.26).
Solve the boundary value problem defined by y′′+xy′−2y=0,y(0)=1andy(1)=2 using the method of Linear interpolation.
8.29. Using Galerkin's method, compute the value of y(0.5) given that y′′+y=x2,0<x<1,y(0)=0andy(1)=0.
8.30. Solve Poisson's equation ∂x2∂2u+∂y2∂2u=2,0≤x,y≤1 with u=0 on the boundary C of the square region 0≤x≤1,0≤y≤1.
8.1 1.1053
8.2 1−3!x3+6!1×4x6−9!1×4×7x9+⋯
8.3 4.005,4.0098
8.4 1+x+2x2+3x3+8x4+⋯
8.5 3.005,3.0202
8.6 (a) 1.0006, \quad (b) y1=1.0000,y2=0.201,y3=0.3020
8.7 1.1002,1.2015
8.8 1.005012
8.9 1.0906
8.10 1.11686,1.27730,1.5023
8.11 1.0202
8.12 0.0222,0.0938
8.14 0.1006,0.2052,0.3176
8.15 0.19598,1.3751
8.16 1.2636,1.532
8.17 y(0.1)=0.90484,y(0.2)=0.81873,y(0.3)=0.7408
y(0.4)=0.6806(Exact value=0.6703).
8.18
8.19 y(0.1)=1.1169,y(0.2)=1.2773,y(0.3)=1.5023,
y(0.4)=1.8376.
8.20 yp(0.8)=0.3049,yc(0.8)=0.30460
8.21
8.22 x1=1.1003,y(0.1)=y1=1.1100
8.23 0.980067(Exact value=0.980066)
8.24 y(0.2)=2.762239(Exact value=2.7616)
z(0.2)=−2.360566(Exact value=−2.368)
8.25 Exact value of y(0.5)=0.443409
(a) 0.443674, \quad (b) 0.443140
8.26 y′(0)=2.8
8.27
(a) h=1,y1=0.4
(a) h=21,y2=0.485714
(b) h=1,y1=0.542373
(b) h=21,y2=0.5228
8.28 y1=1.0828,y2=1.2918,y3=1.6282,y4=1.99997
8.29 y(0.5)=−0.041665(Exact value=−0.04592)
8.30 u(x,y)=−25xy(x−1)(y−1)