Determine the relative global error, Mathematics

Assignment Help:

Consider the differential equation give by

y′ = -10(y - sin t)

(a) Derive by hand exact solution that satis?es the initial condition y(0) = 1.

(b) Numerically obtain the solution to the IVP using Forward Euler with a step size of h = 0.1 from t = 0 to t = 3. Print the value of the approximate solution at time t = 3. Also plot the exact solution (with a solid line) and the approximate solution (with square markers) on the same plot.

(c) Numerically determine the relative global error,

1628_Determine the relative global error.png

of your approximate solution at t = 3 when h = h, h/2, h/4, h/8 and h/16.

Plot the log of the relative error vs. the log of the spacing h. Explain why this veri?es your scheme is convergent to order 1.


Related Discussions:- Determine the relative global error

What is the new cost of the pants, A pair of pants costs $24. The cost was ...

A pair of pants costs $24. The cost was decreased by 8%. What is the new cost of the pants? If the cost of the pants is decreased by 8%, the cost of the pants is 92 percent of

Polynomials, On dividing p(X)=5x^(4)-4x^(3)+3x^(2)-2x+1 by g(x)=x^(2)+2 if ...

On dividing p(X)=5x^(4)-4x^(3)+3x^(2)-2x+1 by g(x)=x^(2)+2 if q(x)=ax^(2)+bx+c, find a,b and c.

Expressing the interest rate as a decimal fraction, Total Contribution per ...

Total Contribution per Year for next 10yeras =$1000+$800 =$1800 So Total Future fund Vaule  =$1800*(1+1.073+power(1.073,2)+ power(1.073,2)+ power(1.073,3)+ power(1.073,4)+ power

Interpretation, Interpretation A high value of r as +0.9 or - 0...

Interpretation A high value of r as +0.9 or - 0.9 only shows a strong association among the two variables but doesn't imply that there is a causal relationship that is

Angles, in the quadrilateral abcd,ab is 4.3,bd is 5.1,ad is 4.8.angle bdc i...

in the quadrilateral abcd,ab is 4.3,bd is 5.1,ad is 4.8.angle bdc is 20 degrees and angle c is 80 degrees.all dimentions in metres.calculate the unknown sides and angles of the plo

Multiplying mixed numbers, Q. Multiplying Mixed Numbers? Ans. Mult...

Q. Multiplying Mixed Numbers? Ans. Multiplying mixed numbers is a 3-step process: 1. Convert the mixed numbers to improper fractions 2. Multiply the fractions 3.

Word Problem, One box can hold 5 1/2 lbs of nuts and 3 lb 6oz of bolts. Wha...

One box can hold 5 1/2 lbs of nuts and 3 lb 6oz of bolts. What is the total weight for one box?

#title.square footage, The area of a rectangular yard is 480 square feet. T...

The area of a rectangular yard is 480 square feet. The yard is 24 feet wide. How many feet do I need to fence all four sides?

Write Your Message!

Captcha
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