Rodver Balibalos Midterm Exam
Rodver Balibalos Midterm Exam
Rodver Balibalos Midterm Exam
BALIBALOS
BSEE 5A
INSTRUCTOR: ENGR. FERDINAND PEDRAJAS
Solution:
a.) f(x) = 7sin(x)e^x-1
f'(x) = 7e^-x [cos(x)-sin(x)]
Xi= 0.3 xi=(f(xi)/f'(xi))
(Єs= 0.01%)
ITERATION Xi f(x)
0 0.3000
1 0.1444 0.5325
2 0.1694 -0.1283
3 0.1702 -0.0037
4 0.1702 0.0000
5 0.1702 0.0000
ITERATION Xi f(X)
0 0.5000 1.0355
1 0.1724 0.0106
2 0.1658 -0.0213
3 0.1660 -0.0201
4 0.1660 -0.0201
5 0.1660 -0.0201
2. Determine the real roots of f(x)=-26+82.3x-88x²+45.4x³-9x⁴+0.65x⁵
Use Bisection Method to determine the highest root to Єs=10%. Employ
initial guesses of Xi 0.5 and Xu =1.0
SOLUTION:
xl = 0.5
xu = 1.0
Es = 10%
ITERATION Xl Xu Xr
1 0.5000 1.0 0.7500
2 0.5000 0.8 0.6250
3 0.5000 0.6 0.5625
4 0.5625 0.6 0.5938
3. Determine the real root of x^33 = 79: With false-position method to within Єs=0.1%.
Use initial guesses of 3.0 and 4.0.
SOLUTION:
f(x)= x^33-79
Guess: xi = 3
xu = 4
Es = 0.10%
ITERATION Xl Xu Xr
1 3.0000 4.0 4.0000
2 4.0000 4.0 4.0000
3 0.0010 4.0 2.8420
4 0.0000 4.0 2.8417
Xo= 1.7
Yo= 3.5
u(x,y) = (x-4)² + (y-4)² -4
v(x,y) = x² + y² - 16
Getting the Partial Derivatives
ƌu/ƌx (x,y) = 2(x-4)
ƌu/ƌy (x,y) = 2(y-4)
ƌv/ƌx (x,y) = 2x
ƌv/ƌy (x,y) = 2y
f'(x) Ea (%)
0
3.4 107.7907
5.1 14.7764
4.8 0.4529
4.8 0.0004
4.8 3.6551E-10
o-(δXo*f(Xo)/f(Xo+δXo)-f(Xo))
f(x+δ) Ea (%)
1.0829
0.1493 190.0365
0.1196 3.9872
0.1207 0.1510
0.1207 0.00000
0.1207 0.0000
TRUE VALUE (f(x) = 0) 0.578332
3-79
(y-4)²= 4
²+y²+ 16