Docsity

6 Sample Problems on Cryptography - Final Examination | MATH 0209A, Exams of Cryptography and System Security

Toggle sidebar
bg1
Math 269A Sample Final Exam Questions
Final: Wed. Dec. 13, 2006 — 3:00-5:00 PM — 5137MS — Closed Book — Closed Notes
[1] Consider the implicit midpoint method for solving dy
dt =F(y)
yk+1 =yk+dt F (yk+yk+1
2)
Give the leading term of the expansion of the local truncation error.
[2] Consider the third order di¤erential equation
y000 + 19y00 20y0= 0
(a) Give an equivalent …rst order system for this equation.
(b) Give the stability time-step restriction if a 2nd order Runge-Kutta method is used to
compute solutions to the …rst order system.
(c) Give the stability time-step restriction if backward Euler is used to compute solutions to
the …rst order system.
[3] Consider the trapezoidal method for non-autonomous systems
yk+1 =yk+dt
2F(yk; tk) + dt
2F(yk+1; tk+1)
(a) Is this method a linear multistep method? Yes or No
(b) Give a derivation of the leading term of the local truncation error.
(c) Give a complete derivation of an error bound for the trapezoidal method when it is used
to compute solutions to ODE’s of the special form
dy
dt =F(t)y(t0) = y0
over a time interval [t0; T ]using a uniform timestep.
[4] (a) Give the Newton iteration that would be used to solve the non-linear equations that
arise when the Trapezoidal method is applied to the following system of ODE’s
d
dtu
v=u2v
u u(0)
v(0) =1
1
(b) Can you think of another, simpler way, to solve the non-linear systems?
pf3

Partial preview of the text

Download 6 Sample Problems on Cryptography - Final Examination | MATH 0209A and more Exams Cryptography and System Security in PDF only on Docsity!

Math 269A Sample Final Exam Questions

Final: Wed. Dec. 13, 2006 ó 3:00-5:00 PM ó 5137MS ó Closed Book ó Closed Notes

[1] Consider the implicit midpoint method for solving

dy dt

= F (y)

yk+1 = yk + dt F (

yk + yk+ 2

Give the leading term of the expansion of the local truncation error.

[2] Consider the third order di§erential equation

y^000 + 19y^00 20 y^0 = 0

(a) Give an equivalent Örst order system for this equation.

(b) Give the stability time-step restriction if a 2nd order Runge-Kutta method is used to compute solutions to the Örst order system.

(c) Give the stability time-step restriction if backward Euler is used to compute solutions to the Örst order system.

[3] Consider the trapezoidal method for non-autonomous systems

yk+1 = yk +

dt 2

F (yk; tk) +

dt 2

F (yk+1; tk+1)

(a) Is this method a linear multistep method? Yes or No

(b) Give a derivation of the leading term of the local truncation error.

(c) Give a complete derivation of an error bound for the trapezoidal method when it is used to compute solutions to ODEís of the special form

dy dt

= F (t) y(t 0 ) = y 0

over a time interval [t 0 ; T ] using a uniform timestep.

[4] (a) Give the Newton iteration that would be used to solve the non-linear equations that arise when the Trapezoidal method is applied to the following system of ODEís

d dt

u v

u^2 v u

u(0) v(0)

(b) Can you think of another, simpler way, to solve the non-linear systems?

[5] Consider the ODE

dy dt

= 4t^2 cos(y) y(0) = 0

whose solution is depicted in Figure 1.

Figure 1.

[a] If one is using Huenís method (a second order Runge-Kutta scheme) to compute the solution to this equation, give an estimate of the largest timestep that one should use to obtain a qualitatively correct solution that is appropriate for each of the four regions

dt for region A = dt for region B = dt for region C = dt for region D =

[b] Are they any regions where one can consider this problem sti§? If so, then list them.

[6] True or False

(a) Even though Eulerís method is only Örst order accurate, it can be very useful in process of developing procedures for creating approximate solutions of ODEís.

(b) If  < 0 , then for all timestep sizes, dt > 0 , the numerical approximation obtained when applying the Trapezoidal method to

dy dt

= y will create an accurate numerical approximation.

(c) Small timesteps are required to resolve transients associated with solutions of ODEís; thus any solution with a transient is necessarily a "sti§" ODE.

(d) When using a one step method of order q to obtain initial values for a multistep method of order p, then to obtain an order p accurate solution one needs q = p: 2