Çankaya University
Mcs 331 Numerical Methods
Final Examination
Dec 31, 2014 09.30 - 11.30
Good Luck!
NAME-SURNAME:
SIGNATURE:
ID:
DEPARTMENT:
DURATION: 120 minutes
Answer all the questions.
Write the solutions explicitly and clearly.
Use the numerical terminology.
You are allowed to use Formulae Sheet.
Calculator is allowed.
You are not allowed to use any other
electronic equipment in the exam.
I declare hereby that I fulfilled the requirements
for the attendance according to the University
regulations and I accept that my examination
will not be valid otherwise.
Question
Grade
Out of
1
15
2
10
3
15
4
20
5
20
6
20
7
20
TOTAL
120
Answer the following questions, choose only 4 of them.
i
What are the advantages and disadvantages of numerical analysis?
ii
Describe the general working of a bracketing method. What are the assumptions for this family of methods?
iii
Describe truncation and round-off errors. Give example.
iv
Describe the concept of ill-condition. Give an example.
v
What does singularity mean for a matrix? Make a comparison of singular and nonsingular matrices.
vi
What information can be obtained from the condition number of a matrix?
vii
What are the differences between the interpolation and curve fitting?
Consider the matrix
viii
Get the inverse of the matrix through either Gaussian elimination or Gauss-Jordan method.
ix
Check your result:
For the given data points;
x
construct the divided-difference table.
xi
interpolate for .
xii
extrapolate for .
A material is tested for cyclic fatigue failure whereby a stress (S), in MPa, is applied to the material and the number of cycles (N) needed to cause failure is measured. The results are in the table below.
X
Y
Cycles (N)
Stress (S)
1
1100
10
1000
100
925
1000
800
10000
625
100000
550
1000000
420
When a log-log plot of stress versus cycles is generated, the data trend shows a linear relationship; . Use least-squares method to determine a best-fit equation for this data. Hints:
xiii
Start by taking logarithms of the data.
xiv
Construct the normal equations.
xv
Find the values and .
xvi
Determine the best-fit equation for .
Write the expression to economize the the Maclaurin series for with the precision 0.08 by using Chebyshev polynomials. Do not perform the calculation.
Use the Fourier series to approximate the square wave function (see Figure).
If the velocity distribution of a fluid flowing through a pipe is known (see Figure), the flow rate (that is, the volume of water passing through the pipe per unit time) can be computed by
, where is the velocity and is the pipe's cross-sectional area. For a circular pipe, and
. Therefore,
, where is the radial distance measured outward from the center of the pipe.
0.0000
0.0000
0.5000
3.0000
xvii
First fill the table within the four digit accuracy.
xviii
Approximate the integral with a step size of .
xix
Approximate the integral with a step size of .
xx
Estimate the error in your answers;
Exact value of the integral is 44.7419. Find the errors for parts ii and iii.
Also use the global error formula to find the errors for parts ii and iii.