Find the local truncation error of this method

Assignment Help Mathematics
Reference no: EM132248556

Questions -

Q1. Consider the following ordinary differential equation

dy/dx = xy2, y(0) = 1

(a) Find the analytical solution to this problem. Hence find the exact value of y(1.5).

(b) Given that y(1.4) = 50, use the modified Euler method to calculate y(1.5). Take h = 0.1 and work to 4 decimal place accuracy.

(c) Now use the 4th order Runge-Kutta method to calculate y(1.5). As before, take y(1.4) = 50, h = 0.1 and work to 4 decimal place accuracy.

(d) Are the answers you obtained for (a), (b) and (c) similar? If not, can you explain why they differ?

(e) Using the Excel spreadsheet provided, experiment with applying both the Modified Euler and 4th Order Runge-Kutta methods to solve the given ODE from x = 0 to x = 2.0. Firstly use h = 0.1, then repeat the calculations using h = 0.05 and h = 0.025.

In your submitted answer, show tables which, at the least, give the x and computed y values at x = 0.1, 0.2, 0.3, ..., 2.0 for each value of h. What do you observe?

Do your results for each value of x change qualitatively (i.e. in their general nature), or only in their numerical values? Explain what you think occurs, and why that occurs.

(NOTE: It is ESSENTIAL that you show all your working in your solution to the above question).

Q2. Milne's method is a linear multistep predictor-corrector method for solving first order ODEs. Its "corrector" formula for solving the initial value problem

y' = f(x, y) with y(a) = b is:

yn+1 - yn-1 = h/3(fn-1+4fn+fn+1)

where yn is our estimated of y(xn) and fn = f(xn, yn) and a and b are known constants.

(a) Find the local truncation error of this method in terms of the step size, h, and hence show that the method is fourth order.

(b) Briefly explaining your reasoning (in one or two sentences), state what you require to initialise the above method, starting from x0 = a, y0 = b, and why implementation of the method is not immediately straightforward.

(c) Consider the ordinary differential equation:

dy/dx = xy, y(1) = 1

(i) Find the analytical solution, and evaluate this at x = 1.1.

(ii) Use the Taylor series method to find a series solution relative to the value x0 = 1. If x = x0 + h, include terms in increasing powers of h, up to and including the term in h4. Work to six decimal places accuracy. Use your Taylor series to find an estimate of y when x = 1.1.

(iii) Compare your answers from (i) and (ii) and comment.

Reference no: EM132248556

Questions Cloud

How you would address each of the stages of change : Develop a strategy that illustrates how you would address each of the eight (8) stages of change: Consolidating gains and producing more change.
Review the elements required for a disaster plan : HCM4012Review the elements required for a disaster plan addressing an internal disaster. Based on your review, create a 2- to 3-page report in a Microsoft Word.
Compare job-based pay with skill-based pay : Compare job-based pay with skill-based pay and provide an example of each. Determine which pay you would prefer. Support your decision.
What priority would you set up their goals : Take a few moments and reflect on the big picture of the workers' compensation and general liability insurance costs to a large company.
Find the local truncation error of this method : Find the local truncation error of this method in terms of the step size, h, and hence show that the method is fourth order
Discussign the two external and internal forces : Identify and discuss two (2) external and two (2) internal forces capable of influencing the bottom-line impact of benefits programs.
What are some of the different types of coverage available : Many times the workers' compensation coordinator is somewhere far away in another state, at the corporate office, or may even be a contracted service.
How you would apply the knowledge you have learned : Identify a task that you would need to perform in your current career or future career, and explain how you would apply the knowledge you have learned.
Write an argumentative paper for workers compensation board : Understanding this is a very big issue, your company's legal team has elicited your help to write an argumentative paper that will be presented to the workers.

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd