Professional Documents
Culture Documents
QUESTION 1
Analytical
0.8 − 0.3𝑥𝑖
𝑓 𝑥𝑖 =
𝑥𝑖
0 = 0.8 − 0.3𝑥𝑖
0.3𝑥𝑖 = 0.8
0.8
𝑥𝑖 = = 2.667
0.3
x f(x)
0.5 1.3
1 0.5
1.5 0.233333
2 0.1
2.5 0.02
3 -0.03333
3.5 -0.07143
4 -0.1
4.5 -0.12222
5 -0.14
Bisection
i xl xu xr f(xl) f(xu) f(xr) ea et
1 1.000 3.000 2.000 0.500 -0.033 0.100
2 2.000 3.000 2.500 0.100 -0.033 0.020 20.00% 6.26%
3 2.500 3.000 2.750 0.020 -0.033 -0.009 9.09% 3.11%
False Position
i xl xu xr f(xl) f(xu) f(xr) ea et
1 1.000 3.000 2.875 0.500 -0.033 -0.022
2 1.000 2.875 2.797 0.500 -0.022 -0.014 2.79% 4.87%
3 1.000 2.797 2.748 0.500 -0.014 -0.009 1.78% 3.04%
Fixed-point iteration
0.8 − 0.3𝑥𝑖
𝑥𝑖+1 = + 𝑥𝑖
𝑥𝑖
0.8
𝑔′ 𝑥𝑖 = − +1
𝑥𝑖 2
i xi ea et x g'(x)
0 3.000 2 0.800
1 2.967 1.12% 11.24% 3 0.911
2 2.936 1.03% 10.10%
3 2.909 0.95% 9.07% Converge between [2,3]
Newton-Raphson
0.8 − 0.3𝑥𝑖 0.8
𝑓 𝑥𝑖 = 𝑓 ′ 𝑥𝑖 = −
𝑥𝑖 𝑥𝑖 2
i xi ea et
0 3.000
1 2.625 14.29% 1.57%
2 2.630 0.18% 1.40%
3 2.634 0.16% 1.24%
Secant
i xi f(xl) ea et
-1 2.000 0.100
0 3.000 -0.033
1 2.750 -0.009 9.09% 3.11%
2 2.656 0.001 3.53% 0.40%
3 2.667 0.000 0.40% 0.00%
QUESTION 2
(a)
(b)
This problem can be solved by determining the root of the derivative of the elastic curve
dy
dx
0
w0
120 EIL
5 x 4 6 L2 x 2 L4
Therefore, after substituting the parameter values, we must determine the root of
2E+11
1E+11
0
-1E+11 0 100 200 300 400 500 600
-2E+11
Bisection can be used to determine the root. Here are the first few iterations:
After 20 iterations, the root is determined as x = 268.328. This value can be substituted into
equation to compute the maximum deflection as
2.5
y ((268 .328 ) 5 720 ,000 (268 .328 ) 3 1.296 1011 (268 .328 )) 0.51519
120 (50,000 )30,000 (600 )
QUESTION 3
f (h) Rh 2 h 3 V
3
Here is a summary of the results obtained with three iterations of false position:
The result can be verified by substituting it into the volume equation to give
3(3) 2.0239
V (2.0239 ) 2 29.92409
3