Dive booles rule by making use of a lagrange polynomial


1. Derive (i.e. prove) Boole's rule by making use of a Lagrange polynomial of order 4. You may use similar reasoning as was outlined in Week 6 for deriving Simpson's rule.

2. Mathews and Fink show how Simpson's rule can be used to approximate the solution of an integral equation (Problem 7, page 377). The procedure is outlined as follows:

Let the integral equation be given as v (x) = x2 + 0.101(x2 + t)v (t) dt. This could, for example, be the expression for the velocity of some object at position x. Note here that t is just a dummy variable used for integration purposes. To solve this integral equation via Simpson's rule with h = 0.5, we let t0 = 0, t1 = 0.5 and t1 = 1. We then have

01(x2 + t)v dt ≈ 0.5/3 [(xn2 + 0)vo + 4 (xn2 + 0.5)v1 + (xn2 + 1)v2]      (1)

Substituting Eq (1) into the integral equation we then have

v(xn) ≈ x2n + 0.1 {1/6[(x2n + 0) v0 + 4 (xn2 + 0.5. v1 + (xn2 + 1) v2]}    (2)

Substituting x0 = 0, x1 = 0.5, x2 = 1 into Eq (2) gives us a system of linear equations:

v0 = 0 + 1/60 (0 × v0 + 2v1 + v2)

v1 = 0.25 + 1/60 (0.25v0 + 3v1 + 1.25v2)

v2 = 1 + 1/60 (v0 + 6v1 + 2v2)

which can be solved to give v0 = 0.0273, v1 = 0.2866, v2 = 1.0646. Substituting these values back into Eq (2) and simplifying the algebra gives us the solution to the integral equation:

v (x) ≈ 1.037305x2 + 0.027297             (3)

One can check the validity of the solution by substituting it back into the right hand side of the integral equation, integrating and simplifying the right hand side.

This should compare well with the approximate solution given by Eq (3). This is a technique known as a self-consistency check and is common throughout applied mathematics, science and engineering.

(a) Using the ideas presented above, use the 3/8 Simpson rule with h = 0.5 to approximate the solution of the integral equation given by

v (x) = x3 + 0.2501.5 (x3 + t)v(t) dt       (4)

Make sure you use any relevant algorithms at your disposal to solve the system of linear equations required to obtain the required vi coefficients.

(b) Do a self-consistency check of the solution and comment on the accuracy of the numerical solution.

3. The so-called ‘predator-prey' model is a classic example of a non-linear system of differential equations in which the complex relationship between populations of predators and prey co-exist.

While a simplistic model, it nevertheless captures some essential information about population dynamics and has been one of the most studied systems of mathematical biology that has profoundly increased our understanding of dynamical systems and chaos. The system of coupled equations is given as

x.(t) = αx (t) - βx (t) y(t)

y.(t) = γx (t) y (t) - δy (t)                 (5)

where x represents the number of prey, y represents the number of predators, t is time and α, β, γ, δ are model input parameters. Using values of α = 4, β = 2, γ = 3, δ = 3, solve via the fourth order Runge-Kutta method the system of differential equations over the time interval [0, 10] with h = 0.01 if:

(a) x (0) = 2, y (0) = 1. Plot the number of predators and prey as a function of time on the same plot and comment on the meaning of the plot.

(b) x (0) = 2, y (0) = 20. Again plot the numbers of predators and prey and comment on the significance.

(c) For both (a) and (b) repeat the calculations with time in the time range [0, 100] and now plot y as a function of x. Comment on the structure you see in the plot.

4. Consider the third order differential equation given by

d3y/dx3 + 3d2y/dx2 + xdy/dx = x2y                 (6)

given that

y(0) = 2, dy/dx|x = 0 = 1, d2y/dx2|x = 0 = -1,

(a) Transform the differential equation into three first order coupled dif- ferential equations, with corresponding initial conditions.

(b) Solve Eq (6) by solving the system of coupled first order differential equations obtained in part (a) using the fourth order Runge-Kutta algorithm in the range x ∈ [0, 3] and plot the solution.

Request for Solution File

Ask an Expert for Answer!!
Mathematics: Dive booles rule by making use of a lagrange polynomial
Reference No:- TGS01390133

Expected delivery within 24 Hours