Assignment No. 1 MTH603 (Spring 2022)

Total Marks: 20

Due Date: 8th June, 2022

DON’T MISS THESE: Important instructions before attempting the solution of this assignment:

• To solve this assignment, you should have good command over 1-8 lectures.

• Upload assignments properly through the LMS, No Assignment will be accepted through email.

• Write your ID on the top of your solution file.

Don’t use colored backgrounds in your solution files.

Use Math Type or Equation Editor, etc. for mathematical symbols.

You should remember that if the solution files of some students are finding the same (copied), we will reward zero marks to all those students.

Make a solution by yourself and protect your work from other students, otherwise both original and copied assignments will be awarded zero marks.

Also remember that you are supposed to submit your assignment in Word format, any other format like scanned images, etc. will not be accepted and be awarded zero marks

Question 1

Find a real root of the equation 2x+cos(x)+e^x=0

using Bisection Method

using Newton Raphson Method

Also compare the results and comment which of the methods performs better and which is worst.

You will consider x_0=-0.6557 as a best approximation while comparing the roots.

Note:

In each of the above methods,you are required to perform three iterations.

using Newton Raphson Method

Find a real root of the equation 2x+cos(x)+e^x=0

using Bisection Method