Docsity

Math 3321 HW 6: Solving Diff. Equations & Approximating Solutions with Improved Euler - Pr, Assignments of Mathematics

Toggle sidebar
bg1
Math3321Homework6
1. Problems2‐12eveninsection6.5.
2. Problems1‐3insection6.6.
3. Givetheexactsolutiontothesystem
()
02 1
'( ) ( )
20 cos()
1
01
ut ut t
u
−
⎛⎞⎛⎞
=+
⎜⎟⎜⎟
⎝⎠⎝⎠
⎛⎞
=⎜⎟
⎝⎠
Youwillneedthissolutioninproblem4.
4. UsetheimprovedEuler’smethodwithh=0.01toapproximatethesolutionto
()
02 1
'( ) ( )
20 cos()
1
01
ut ut t
u
−
⎛⎞⎛⎞
=+
⎜⎟⎜⎟
⎝⎠⎝⎠
⎛⎞
=⎜⎟
⎝⎠
overtheinterval[0,20].Giveaplotoftheresultingsolutioncomponentsasfunctionsoft.i.e.
plotthefirstcomponentoftheapproximatesolutionvst,andthendothesameforthesecond
component.Alsoincludethegraphoftheexactsolutionsforcomparison.Finally,giveatable
thatshowsyourapproximationsatk/5fork=0,…,100alongwiththeexactsolutions.Besureto
documentyourworkandexplainhowyourresultswereobtained.
5. TheBrusselatorwasdiscussedbrieflyinclass,andthesystemisrestatedbelow.
2
2
'(1)
'
x
ab xaxy
ybxaxy
=− + +
=−
whereaandbarepositiveconstantsandxandyareunknownfunctionsoft.Positiveinitial
datahastobesuppliedinorderforthesystemtohaveauniquesolution.Ifweseta=1,b=2
andprovideinitialdata,thenthesolution(x(t),y(t))fort>0parameterizesacurveinthexy
plane.Ihaveshown4suchsolutionsintheplotatthetopofthenextpage.
pf2

Partial preview of the text

Download Math 3321 HW 6: Solving Diff. Equations & Approximating Solutions with Improved Euler - Pr and more Assignments Mathematics in PDF only on Docsity!

Math 3321 Homework 6

  1. Problems 2 ‐ 12 even in section 6.5.
  2. Problems 1 ‐ 3 in section 6.6.
  3. Give the exact solution to the system

2 0 cos( )

u t u t

t

u

You will need this solution in problem 4.

  1. Use the improved Euler’s method with h = 0.01 to approximate the solution to

2 0 cos( )

u t u t

t

u

over the interval [0,20]. Give a plot of the resulting solution components as functions of t. i.e. plot the first component of the approximate solution vs t, and then do the same for the second component. Also include the graph of the exact solutions for comparison. Finally, give a table that shows your approximations at k/5 for k = 0,…,100 along with the exact solutions. Be sure to document your work and explain how your results were obtained.

  1. The Brusselator was discussed briefly in class, and the system is restated below. 2 2

x a b x ax y

y bx ax y

where a and b are positive constants and x and y are unknown functions of t. Positive initial data has to be supplied in order for the system to have a unique solution. If we set a = 1, b = 2 and provide initial data, then the solution ( x ( t ), y ( t )) for t > 0 parameterizes a curve in the xy plane. I have shown 4 such solutions in the plot at the top of the next page.

Use improved Euler’s method with a step size of 0.01 to attempt to approximate the solutions that are shown. In each case, give tables of data values and also a plot showing the parametric curves obtained from your approximate solutions. Be sure to document your work and explain how your results were obtained.