This action might not be possible to undo. Are you sure you want to continue?

Uploaded by Sabariah Othman

0.0 (1)

STQP2033/34: Kaedah Berangka/Numerical Methods TUTORIAL 3 Semester 1, 2010-11

**1. Use iterative refinement techniques to improve x1 = 2, x2 = −3 and x3 = 8 , which are approximate solutions of 2 x1 + 5 x2 + x3 = −5
**

5 x1 + 2 x2 + x3 = 12 x1 + 2 x2 + x3 = 3

2. Given the data x 1.6 2 2.5 3.2 4 4.5 f(x) 2 8 14 15 8 2 Calculate f(2.8) using Newton’s interpolating polynomials of order 1 through 3. Choose the sequence of the points for your estimates to attain the best possible accuracy. 3. Given the data x 1 2 3 5 7 8 f(x) 3 6 19 99 291 444 Calculate f(4) using Newton’s interpolating polynomials of order 1 through 4. Choose the base points to attain the good accuracy. What do your results indicate regarding the order of the polynomial used to generate the data in the table? 4. Repeat question 3 using Lagrange polynomials of order 1 through 3. (18.7) 5. The following data come from a table that was measured with high precision. Use the best numerical method (for this type of problem) to determine y at x = 3.5. Note that a polynomial will yield an exact value. Your solution should prove that your result is exact. 1.8 5 6 8.2 9.2 12 x 0 y 26 16.415 5.375 3.5 2.015 2.54 8

1

UKSD/270710

x 0 1 2.5 3 4. 3. (c) multiple-application trapezoidal rule. determine the percent relative error based on (a). (b) single application of the trapezoidal rule. with n=1. 2. Evaluate the following integral: 4 ∫ (1 − x − 4 x −2 3 + 2 x5 ) dx (a) analytically. 8. 5 and 9.2).3516 7. and 4: 2 ∫ ( x + 1/ x) 1 2 dx Use the analytical solution to compute true percent relative errors to evaluate the accuracy of the trapezoidal approximations.STQP2033/34 Kaedah Berangka 6.1875 12 Check your answer using Lagrange polynomials. Monday – 30th August 2010.5 5 6 y 2 5. 3. Develop quadratic splines for the first 5 data points in question 2 and predict f(3. 2 UKSD/270710 .00 noon.4375 7. with n=2 and 4. Submit to me before 12. Evaluate the following integral: π /2 ∫ (8 + 4cos x) dx 0 (a) analytically. 7. (b) single application of the trapezoidal rule. (c) multiple-application trapezoidal rule. For each of the numerical estimates in (b) and (c).5625 8. Integrate the following function analytically and using the trapezoidal rule. 9.5 to the best possible accuracy. Use Newton’s interpolating polynomial to determine y at x = 3. 4.4) and f(2. 10. Compute the finite divided differences and order your points to attain optimal accuracy and convergence. with n=2 and 4.4453 9. Solutions to be submitted: Group 1 to 8: Questions 1.

Sign up to vote on this title

UsefulNot usefulAre you sure?

This action might not be possible to undo. Are you sure you want to continue?

We've moved you to where you read on your other device.

Get the full title to continue

Get the full title to continue reading from where you left off, or restart the preview.