Assignment4 Cse330 Spring2024
Assignment4 Cse330 Spring2024
Assignment4 Cse330 Spring2024
• Write your name, ID#, and Section number clearly in the very front page.
• Write all answers sequentially.
• Start answering a question (not the pat of the question) from the top of a new page.
• Write legibly and in orderly fashion maintaining all mathematical norms and rules. Prepare a single solution file.
• Start working right away. There is no late submission form. If you miss the deadline, you need to use the make-up
assignment to cover up the marks.
3. (a) (3 marks) Consider the function f (x) = x2 − x + 1 and starting point x0 = 0. Show that the sequence using
Newton’s method x1, x2, · · · fails to approach a root of f (x).
(b) (4 marks) Consider the function f (x) = cos(2x) − sinx. Compute the solution of the function, such that
f(x) = 0, using Newton’s method with Aitken’s acceleration and starting point, x0 = 0. Consider up to five
decimal places.[Error bound is 1 × 10−3 ]
Motto: Mathematics is NOT difficult, but what is difficult is to believe that mathematics is NOT difficult.