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

Matrices, problem faced by students

problem faced by students

#Famous Numbers Exercise, Euler''s Constant (e) Approximate the number to t...

Euler''s Constant (e) Approximate the number to the one hundredth, one ten-thousandths, and one one-hundred-millionth.

Properties of the indefinite integral, Properties of the Indefinite Integra...

Properties of the Indefinite Integral 1.  ∫ k f ( x ) dx = k ∫ f ( x ) dx where k refer for any number.  Thus, we can factor multiplicative constants out of indefinite integral

Innovation, In the innovations algorithm, show that for each n = 2, the inn...

In the innovations algorithm, show that for each n = 2, the innovation Xn - ˆXn is uncorrelated with X1, . . . , Xn-1. Conclude that Xn - ˆXn is uncorrelated with the innovations X

Dimensions and degree of an expression, Binomials, Trinomials and P...

Binomials, Trinomials and Polynomials which we have seen above are not the only type. We can have them in a single variable say 'x' and of the form x 2 + 4

Percentage, of all those survey 390 were under 18 years of age if 20%were 1...

of all those survey 390 were under 18 years of age if 20%were 18, how many responded to the survey

Find the probability, A bag contains 19 tickets, numbered from 1 to 19. A t...

A bag contains 19 tickets, numbered from 1 to 19. A ticket is drawn and then another ticket is drawn without replacement .Find the probability that both tickets will show even numb

Fermat''s little theorem, 1. How many closed necklaces of length 7 can be m...

1. How many closed necklaces of length 7 can be made with 3 colors? (notice that 7 is a prime) 2. How many closed necklaces of length 10 can be made with 3 colors (this is di erent

Find the sum of series r/(r+1)(r+2)(r+3)from 1 upto infinity, Apply the con...

Apply the concept of partial fraction and add the corresponding terms. The terms will get cut automatically leaving the first and last term

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