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

Harmonic progression (h.p.), Three quantities a, b and c are said to ...

Three quantities a, b and c are said to be in harmonic progression if, In this case we observe that we have to consider three terms in o

#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.

Solve out the linear equations, Solve out each of the following equations. ...

Solve out each of the following equations.                3( x + 5)= 2 ( -6 - x ) - 2x Solution In the given problems we will explained in detail the first problem and t

Give examples on multiplication rule in probability, Example: Suppose your...

Example: Suppose your football team has 10 returning athletes and 4 new members. How many ways can the coach choose one old player and one new one? Solution:  There are 10 wa

Determine the equation of the tangent line, Determine the equation of the t...

Determine the equation of the tangent line to r = 3 + 8 sinθ at θ = Π/6. Solution We'll first need the subsequent derivative. dr/dθ = 8 cosθ The formula for the deriv

Area of a circle, How do you find the area of a circle given the diameter?

How do you find the area of a circle given the diameter?

If 0.3 is added to 0.2 times the quantity x - 3, If 0.3 is added to 0.2 tim...

If 0.3 is added to 0.2 times the quantity x - 3, the result is 2.5. What is the value of x? The statement, "If 0.3 is added to 0.2 times the quantity x - 3, the result is 2.5,

Guess my number, My thousandths digit is twice the tenths digit. My tenths ...

My thousandths digit is twice the tenths digit. My tenths digit is one less than the hundredths digit. If my number is 5, what my number?

Coprime positive integer, 6 male students and 3 female students sit around ...

6 male students and 3 female students sit around a round table. The probability that no 2 female students sit beside each other can be expressed as a/b, where a and b are coprime p

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