You are on page 1of 2

Analytical and Computational Methods in Civil Engineering II mata

CE 27 1
st
Long Exam
August 11, 2011 11:30-1:30
Instructions:
i. Turn all mobile phones OFF during examination period. Any form of
cheating will be strictly penalized
ii. Start the solution to each problem on a new sheet; do not write at the back;
and put a box on your final answer
iii. Pass your answer sheets together with this questionnaire at the end of the
examination period.

1. 10 points. For the given data below:

X 1 2 3
Y 3 6 5.7

Determine the value of y at x=2.5 using
(a.) lagrange interpolating polynomial P2(x), and
(b.) a least squares line.

2. 15 points. The partial derivative y x f
x
, of y x f , with respect to x is
obtained by holding y fixed and differentiating with respect to x.
Similarly, y x f
y
, is found by holding x fixed and differentiating with
respect to y. Mathematically,



2
2
, ,
, h
h
y h x f y h x f
y x f
x
O





2
2
, ,
, h
h
h y x f h y x f
y x f
y
O


Let f x, y
( )
xy x + y
( )
. Calculate approximations to 3 , 2
x
f and 3 , 2
y
f
using the formulas above with h=0.1, 0.01, and 0.001. Compare with the
values obtained by differentiating y x f , partially.

3. 15 points. The solid of revolution obtained by rotating the region under
the curve x f y , where b x a , about the x-axis has surface area
given by


b
a
dx x f x f
2
' 1 2 area
Approximate the surface area for x x f sin ,
4 0 x
using
composite trapezoidal rule with n=4 and using composite Simpson
rule using n=2.

4. 10 points. Determine the eigenvalues and eigenvectors of matrix A
using the analytical method.




A
10 5
2 1

Analytical and Computational Methods in Civil Engineering II mata



CE 27 1
st
Long Exam
August 11, 2011 11:30-1:30
Instructions:
iv. Turn all mobile phones OFF during examination period. Any form of
cheating will be strictly penalized
v. Start the solution to each problem on a new sheet; do not write at the back;
and put a box on your final answer
vi. Pass your answer sheets together with this questionnaire at the end of the
examination period.

5. 10 points. For the given data below:

X 1 2 3
Y 3 6 5.7

Determine the value of y at x=2.6 using
(a.) lagrange interpolating polynomial P2(x), and
(b.) a least squares line.

6. 15 points. The partial derivative y x f
x
, of y x f , with respect to x is
obtained by holding y fixed and differentiating with respect to x.
Similarly, y x f
y
, is found by holding x fixed and differentiating with
respect to y. Mathematically,



2
2
, ,
, h
h
y h x f y h x f
y x f
x
O





2
2
, ,
, h
h
h y x f h y x f
y x f
y
O


Let f x, y
( )
xy x + y
( )
. Calculate approximations to 3 , 2
x
f and 3 , 2
y
f
using the formulas above with h=0.1, 0.01, and 0.001. Compare with the
values obtained by differentiating y x f , partially.

7. 15 points. The solid of revolution obtained by rotating the region under
the curve x f y , where b x a , about the x-axis has surface area
given by


b
a
dx x f x f
2
' 1 2 area
Approximate the surface area for x x f sin ,
4 0 x
using
composite trapezoidal rule with n=4 and using composite Simpson
rule using n=2.

8. 10 points. Determine the eigenvalues and eigenvectors of matrix A
using the analytical method.

A
10 5
2 1

You might also like