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

Real analysis, .find lim sup Ek and liminf Ek of Ek=[(-(1/k),1] for k odd a...

.find lim sup Ek and liminf Ek of Ek=[(-(1/k),1] for k odd and liminf Ek=[(-1,(1/k)] for k even

Space geometry, a sketch of two dimensional system

a sketch of two dimensional system

Quadratic equation, If roots of (x-p)(x-q) = c are a and b what will be th...

If roots of (x-p)(x-q) = c are a and b what will be the roots of (x-a)(x-b) = -c    please explain? Ans) (x-p)(x-q)=c x2-(p+q)x-c=0 hence,   a+b=p+q  and      a.b=pq-c

What is the value of x in probability , A bag contains 8 red balls and x bl...

A bag contains 8 red balls and x blue balls, the odd against drawing a blue ball are 2: 5. What is the value of x?                                                               (An

Addition and subtraction of rational expressions, Now come to addition and ...

Now come to addition and subtraction of rational expressions.  Following are the general formulas.  (a/c) + (b/c) = (a + b)/c

What is her commission if she sells a $359, A real estate agent makes a 1.5...

A real estate agent makes a 1.5% commission on her sales. What is her commission if she sells a $359,000 house? Multiply $359,000 by the decimal equivalent of 1.5% (0.015) to ?

Vector analysis ...gradient, A body is constrained to move in a path y = 1+...

A body is constrained to move in a path y = 1+ x^2 and its motion is resisted by friction. The co-efficient of friction is 0.3. The body is acted on by a force F directed towards t

Definition of logarithms, Q. Definition of Logarithms? Ans. A loga...

Q. Definition of Logarithms? Ans. A logarithm to the base a of a number x is the power to which a is raised to get x. In equation format: If x = a y , then log a  x

Convergence, Assume that (xn) is a sequence of real numbers and that a, b €...

Assume that (xn) is a sequence of real numbers and that a, b € R with a is not eaqual to 0. (a) If (x n ) converges to x, show that (|ax n + b|) converges to |ax + b|. (b) Give

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