Docsity

Test 1 Problems - Numerical Solution for Partial Differential Equations | MATH 5343, Exams of Mathematics

Toggle sidebar
bg1
MATH 5343
Test I Name_________________________
1. True or False:
a. If the LU decomposition of a tridiagonal matrix is done using partial
pivoting, the resulting matrices Land Uare also tridiagonal.
b. The backwards (implicit) Euler method
Uk+1−Uk
h=f(tk+1, Uk+1 )
is much better suited for stiff problems than the forwards (explicit)
Euler method.
c. All Adams methods (for u′=f(t, u)) are stable.
d. It is easier to vary the stepsize h for Runge-Kutta methods than for
multistep methods.
e. An equation of third degree (u′′′ =f(t, u, u′, u′′ )) can be reduced to
a system of three first order equations.
f. The number of multiplications required to solve an Nby Nfull sys-
tem of linear equations using Gaussian elimination is 1
3N2.
g. It is possible to design explicit multistep methods which work well
on stiff systems.
h. For stable methods, the error is of the same order as the truncation
order.
i. If an ODE solver produces an error of 10−3at t= 1, when h= 0.01,
and an error of 10−6at t= 1, when h= 0.001, then the experimental
global error is O(h2).
j. The amount of work required to solve an Nby Ntridiagonal system
using a band solver is O(N).
2. a. Is the following method stable? (Justify answer)
Uk+1+4Uk−5Uk−1
6h=2
3f(tk, Uk) + 1
3f(tk−1, Uk−1)
b. Is the method consistent? (Justify answer)
c. Is this a backward difference method?
d. Is this an Adams method?
1
pf2

Partial preview of the text

Download Test 1 Problems - Numerical Solution for Partial Differential Equations | MATH 5343 and more Exams Mathematics in PDF only on Docsity!

MATH 5343

Test I Name_________________________

  1. True or False:

a. If the LU decomposition of a tridiagonal matrix is done using partial pivoting, the resulting matrices L and U are also tridiagonal. b. The backwards (implicit) Euler method Uk+1−Uk h =^ f^ (tk+1, Uk+1) is much better suited for stiff problems than the forwards (explicit) Euler method. c. All Adams methods (for u′^ = f (t, u)) are stable. d. It is easier to vary the stepsize h for Runge-Kutta methods than for multistep methods. e. An equation of third degree (u′′′^ = f (t, u, u′, u′′)) can be reduced to a system of three first order equations. f. The number of multiplications required to solve an N by N full sys- tem of linear equations using Gaussian elimination is 13 N 2. g. It is possible to design explicit multistep methods which work well on stiff systems. h. For stable methods, the error is of the same order as the truncation order. i. If an ODE solver produces an error of 10−^3 at t = 1, when h = 0.01, and an error of 10−^6 at t = 1, when h = 0.001, then the experimental global error is O(h^2 ). j. The amount of work required to solve an N by N tridiagonal system using a band solver is O(N ).

  1. a. Is the following method stable? (Justify answer)

Uk+1+4Uk − 5 Uk− 1 6 h =^

2 3 f^ (tk, Uk) +^

1 3 f^ (tk−^1 , Uk−^1 )

b. Is the method consistent? (Justify answer)

c. Is this a backward difference method? d. Is this an Adams method?

  1. a. Find the optimal values for A and B in the approximation (to u′^ = f (t, u))

Uk+1−Uk h =^ Af^ (tk, Uk) +^ Bf^ (tk−^1 , Uk−^1 )

b. What is then the truncation error?

c. Is the method implicit or explicit?

  1. For the problem u′^ = − 100 u, u(0) = 1, which has exact solution u(t) = e−^100 t,

a. Compute the Euler method approximation to u(1) using h = 0.1. For what values of h does Euler’s method produce a good approximation?

b. Compute the backward Euler method approximation to u(1) using h = 0.1. For what values of h does backward Euler produce a good approximation?