









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










2 0 1 2 0 n
y f ( ) x f ( ) x 0
2 0 1 2 0 n a a x a x a x n y f ( ) x f ( ) x 0
x x 1 y f 1 (^) ( ) x y f (^) 2 ( ) x f 1 (^) ( x 1 (^) ) f (^) 2 ( x 1 ) x x 1
f ( ) x 0 f 1 (^) ( ) x f (^) 2 ( ) x x x 1 y f 1 (^) ( ) x y f (^) 2 ( ) x f 1 (^) ( x 1 (^) ) f (^) 2 ( x 1 ) x x 1
(b) It is a polynomial equation of degree three and hence the total number of roots is three. So, number of complex roots = Total number of roots - Number of real roots =3-1=2. (c) >> p=[1 0 4 -3] % entry of cubic polynomial p = 1 0 4 -
Roots = roots(p) Roots = -0.3368 + 2.0833i -0.3368 - 2.0833i 0.6736 + 0.0000i
Exercise
where it lies.
x
Solution: Consider the values of function for different values of x :
x f x x x e x f ( x ) -2 1. -1 0. 0 - 1 - 2 5. From the above table, we see that , a root lies in and , a root lies in
x
x f x x x e
Step-1: If be continuous in , Choose two approximations a and b such that. Step-2: Evaluate the mid-point c of such that Step-3: If we conclude that c is a root of .If and (i) If the root is in or (ii) If the root is in f ( ) x [ , ] a b f ( ) a f b ( ) 0 f ( ) x 0 c ( a b ) / 2 f c ( ) (^0) f c ( ) 0 f ( ) a f c ( ) (^0) ( , a c ) f c f b ( ) ( ) (^0) ( , c b ) [ a 1 (^) , b 1 ] x 1 xn (^) 1 xn
[ , ] a b . Step-4: By designating the new interval of root as we can calculate the next iterate by the formula , n^ = 1, 2, 3,... Step-5: Repeat the process until (^) ,where is the specified accuracy 𝒙𝒏 + 𝟏 = 𝒂𝒏 + 𝒃𝒏 𝟐 f ( ) x [ , ] a b f a f b ( ) ( ) 0 f ( ) x 0 c ( a b ) / 2 f c ( ) (^0) f c ( ) 0 f ( ) a f c ( ) (^0) ( , a c ) f c f b ( ) ( ) (^0) ( , c b ) [ a 1 (^) , b 1 ] x 1 xn (^) 1 xn [ , ] a b
Exercise
4
2
a) 3 , b) 2 , c) 4 , d) 5
3
2
a) 3 , b) 1 , c) 4 , d) 5
4
2
a) 3 , b) 2 , c) 4 , d) 5
4. If What is the value of a) -3 , b) -1 , c) 4 , d) 0
5. If is continuous in then what is the condition that there exists odd number of real roots(at least one root) of ¿ [^ 𝑎^ ,^ 𝑏 ]^ =0?