Sei sulla pagina 1di 3

MTH603 (Spring 2018) Assignment No.

Maximum Marks: 10

Due Date: May 09, 2018


Please read the following instructions before attempting the solution of this assignment:

• To solve this assignment, you should have good command over 1 to 8 lectures.
• Try to get the concepts, consolidate your concepts which you learn in these lectures
these questions.
• Upload assignments properly through LMS. No Assignment will be accepted
• Write your ID on the top of your solution file.

 Do not use colorful backgrounds in your solution files.

 Use Math Type or Equation Editor etc. for mathematical symbols and equations.
 Zero marks will be awarded for a copied solution. That is if the solution files of any
two students are found same, both of them will be awarded zero marks. Therefore,
try to make solution by yourself and protect your work from other students.
 Avoid copying the solution from book (or internet); you must solve the assignment
 Also remember that you are supposed to submit your assignment in Word format
any other format like scanned images, HTML etc. will not be accepted
Question: 1

Use RegulaFalsi Method to find a real root of the equation xe x  2  0 correct to two
decimal places within the interval 0,1 .
The formula for regula falsi is as follow:

Suppose the root is located between x = a and x = b with a < b

then x1 = a -[(b-a) f(a)]/[f(b) - f(a)]

Let us suppose that f(a) < 0 and f(b) > 0.

f(x1) will be either greater or less than zero (unless you got the root exactly!)

if f(x1) < 0, replace a with x1 and f(a) with f(x1) in the formula and repeat the process
to get x2

if f(x1) > 0, replace b with x1 and f(b) with f(x1) in the formula and repeat the process
to get x2

I will do the first round for you, then you follow until the 2nd decimal does not change

For your problem a = 0 and b = 1

f(0) = -2 and f(1) = .718282

x1 = 0 - [1-0](-2)/[.718282-(-2)] = .735759

f(x1) < 0 so replace a with x1 and repeat. You go from here!

Question: 2

Find the real root of the equation 3x  cos x 1  0 correct to four decimal places using the
Newton Raphson Method.