Você está na página 1de 2

ESO218, 03-04 II Sem, Assignment 5

1.

The amount of lowering of water level, s, at any time, t, at a distance of r from the

pumping well is a function of the dimensionless parameter u (which is r2/t), and is given by
the equation s=Q* W(u), where Q* is a constant (proportional to the discharge), and W is
called the Well Function. The well function is given by the equation dW(u)/du = Exp(u)/u.
If the value of W(1) is 0.219370, find the value of W(0.5) using (a) Romberg integration
algorithm with accuracy O(h6) (b) Modified Euler with h=0.5 (c) Heuns method with
h=0.25 and (d) Fourth-order Runge-Kutta method with h=0.25. Perform an error analysis
using the true value as W(0.5)=0.559767.
2.

Solve the differential equation dy/dx = x2y 2y with y(0)=1 over the interval x=0 to

0.5, using (a) Heuns method without iteration with h=0.125 and 0.25 (b) Heuns method with
iteration (with h=0.25 and stopping criterion of 1% relative error) (c) 4 th order Runge-Kutta
method with h=0.125 and 0.25. Using the exact value of y at x=0.5 as 0.383532 perform an
error analysis.
3.

Solve the differential equation dy/dt = y + et with the initial condition y(0)=1 using

the Milne method to obtain the value of y at t=0.8 and 1.0 (To start the computations, find the
analytical solution and use the true values of y and dy/dt at t=0, 0.2, 0.4, and 0.6). Do the
computations in three different ways : (a) Do not use the predictor and corrector modifiers
(b) use predictor modification only and (c) use both predictor and corrector modifications.
4.

Solve the differential equation dy/dx = 10 sin(x) with the initial condition y(0)=0 and

step length of 0.2 using (a) the 4th order R-K method and (b) the 4th order Adams method to
obtain the value of y at t=0.2, 0.4, 0.6, 0.8 and 1.0. (For the multi-step method use the values
obtained from the R-K method, as needed, and use the predictor and corrector modifiers to
improve efficiency and accuracy.)

Assignment 6 on back

ESO218, 03-04 II Sem, Assignment 6


1. Solve the differential equation dy/dt = 100 y + 99 et with the initial condition y(0)=2
using the Explicit and Implicit Eulers method to obtain the value of y at t=0.1. Use
time steps of (a) 0.01 (b) 0.02 and (c) 0.025. Find the analytical solution and compare
the errors for these time steps.
2. Repeat problem 1 for the differential equation dy/dt = y 99 e100 t with the initial
condition y(0)=2. Use step size of 0.025 only.
3. Solve the differential equation d2y/dx2 dy/dx 2y + 2x = 3 with the boundary
conditions y(0)=0 and y(0.5)=0.6967 using (a) the shooting method and (b) finite
difference method. For both cases, use x=0.25.
4. Find an Eigenvalue of the matrix A given by:
2 1 0 0
1 2 1 0

A
0 1 2 1

0 0 1 2
using (a) Power method (b) polynomial method and Mullers algorithm (c) FadeevLeverrier method with Bairstows technique. Use the value obtained in (a) to select the
starting points for (b) and (c).

Assignment 5 on back

Você também pode gostar