We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
Aksum University
College of Natural and Computational Sciences
Department of Mathematics Work Sheet - I of Numerical Methods for 3rd year Computer Science Students
1. Discuss the following
a. Round off errors, absolute error and relative error b. What is mathematical modeling? c. What is difference between accuracy and precision? d. What is significant figure? e. If 𝑥 = 1.5 is the approximated root of the equation 𝑥 2 𝑒 𝑥 − 8𝑥 + 2 = 0. Then, evaluate absolute error and relative errors 2. Solve the following problems using false position method and bisection method a. 𝑥 − 2−𝑥 = 0 correct to four significant figures b. The equation 𝑥 6 − 𝑥 4 − 𝑥 3 − 1 = 0 has two roots. Find these roots up to four decimal places c. 𝑠𝑖𝑛2 𝑥𝑐𝑜𝑠 2 𝑥 − 𝑙𝑛𝑥 + 1 = 0, correct to four decimal places. d. Find real cube root of 18 with the accuracy of 0.006 3. Solve the following problems using fixed point iterative method i. 𝑥 3 − 2𝑥 2 − 4 = 0, 𝑒 = 0.04 ii. 𝑡𝑎𝑛(3𝑥) − 3𝑥 2 + 1 = 0 iii. 𝑥 2 − 𝑡𝑎𝑛𝑥 − 240 = 0. Correct to six decimal places. Let 𝑥0 = 100 iv. 𝑥 3 − 3𝑥 2 − 6𝑥 + 3 = 0, let 𝑥0 = 2 and 𝑒 = 0.03 v. 1 − 𝑥𝑒 𝑥 = 0 on the interval 𝑒 = 0.008 vi. 100 − 𝑥 − 𝑒 𝑥 = 0, correct to four decimal places. 1 𝑥 vii. ( ) − 𝑥 3 + 𝑥 2 − 𝑥 − 4 = 0 2
4. Solve the following problems by Newton Raphson method
a. 𝑥 5 − 𝑒 2𝑥 + 10𝑥 = 0 , 𝑒 = 0.001 correct to four decimal places b. The equation 𝑥 4 𝑐𝑜𝑠𝑥 − 𝑥 2 + 6 = 0 has infinitely many roots. But find all possible roots in (−4𝜋, 4𝜋) within 𝑒 = 0.005 c. Find two different roots for 𝑥 3 (𝑥 − 4) + (4 − 𝑥)𝑐𝑜𝑠𝑥 = 0, 𝑒 = 0.001 d. 𝑒 𝑥 𝑡𝑎𝑛3𝑥 − 𝑥 2 − 12𝑥 + 7 = 0 correct to three decimal places 1 Aksum University College of Natural and Computational Sciences Department of Mathematics Work Sheet - I of Numerical Methods for 3rd year Computer Science Students
e. Find an approximation to √24 correct to within 10−4
f. 𝑒 𝑥 + 2−𝑥 + 2𝑐𝑜𝑠𝑥 − 6 for 1 ≤ 𝑥 ≤ 2 g. 2𝑥𝑐𝑜𝑠2𝑥 − (𝑥 + 1)2 = 0 with 𝑒 = 0.005. 1 h. Solve (𝑆𝑖𝑛2𝑥)(𝑐𝑜𝑠3𝑥)– 𝑙𝑛 ( 2 ) + 1 = 0, 𝑒 = 0.01 𝑥 i. 18 + 𝑥 − 𝑥 8 = 0, 𝑒 = 0.001 and correct to four decimal places. 5. For each of the following equations determine an interval [a, b] on which Fixed-point iteration will converge. 1 𝑒𝑥 2 a. 𝑥 = ( ) b. 𝑥 = 𝑒 −𝑥 c. 𝑥 = 𝑙𝑛(1 + 𝑥 2 ) 3 6. The fourth-degree polynomial 𝑓(𝑥) = 230𝑥 4 − 18𝑥 3 − 9𝑥 2 − 221𝑥 − 9 has two real zeros, one in [−1, 0] and the other in [0, 1]. Attempt to approximate these zeros to within 10−4 and evaluate relative errors for each steps using a. Fixed point iteration method b. Newton Raphson method c. False position method d. Bisection method 7. Solve the following problems using any method. a. 𝑓(𝑥) = 𝑥𝑡𝑎𝑛𝑥 + 1 accurate to four decimal places b. Solve 3𝑥 − 5𝑥 = 0 𝑒 = 0.01 approximate your final answer correct to four decimal places. c. Find solution of 𝑐𝑜𝑠𝑥 − 2𝑥 + 12 = 0 with the accuracy of 𝑒 = 0.001 d. 𝑥 2 𝑒 𝑥 − 8 = 0 e. 𝑥 3 − 4𝑥 2 − 6 = 0 f. 𝑒 2𝑥 − 𝑠𝑖𝑛𝑥 − 100 = 0