HOMEWORK ASSIGNMENT No.2 Due Date: 23Rd March, 2007

HOMEWORK ASSIGNMENT No.2 Due Date: 23Rd March, 2007

<p>HOMEWORK ASSIGNMENT No.2 Due Date: 23rd March, 2007 COURSE: AMAT314 -NUMERICAL METHODS</p><p>INSTRUCTIONS TO STUDENTS </p><p>A presentable report should be prepared with all questions answered. All necessary working must be shown. You are reminded of the necessity for proper English and orderly presentation of your answers. Calculators may be used.</p><p>DEFINITIONS:</p><p> a) The “true percent relative error” ,  t ,is defined as: true error  = x100% t true value where “true error =true value-approximation”.</p><p> b) The “approximate percent relative error” ,  a , is defined as: present.approximation  previous.approximation  = x100% a present.approximation</p><p> c) The “Scarborough Termination Criterion”:</p><p>In was shown by Scarborough(1966) that if the following criterion is met, we can be assured that the computational result is correct to at least n significant figures: 2n  a <  s where  s  (0.5x10 )% . </p><p>ITERATION METHODS:</p><p> f (xn ) a) Standard Newton-Raphson Method: xn1  xn  f (xn )</p><p> f (xn ) f (xn ) b) Modified Newton-Raphson Method: xn1  xn  2  f (xn )  f (xn ) f (xn )</p><p> f (xn )(xn1  xn ) c) Secant Method: xn1  xn  f (xn1 )  f (xn )</p><p>1 FITAMAT314.HOMEWORK ASSIGNMENT.No2.SPRING2007.doc HOMEWORK ASSIGNMENT No.2 COURSE: AMAT314 -NUMERICAL METHODS </p><p>PROBLEM STATEMENT: </p><p>The function f (x)  x3  5x 2  7x  3 has a double real root at x  1.0 and a single real root at x  3.0 in the interval [0,4].Can you verify that? </p><p>(a) Using the Standard Newton-Raphson Method and starting with the initial </p><p> guess of x0  0 , write down the first 6 terms of the sequence, keeping 8 digits after the decimal point. </p><p>(b) Using the Modified Newton-Raphson Method and starting with the initial </p><p> guesses of x0  0 , write down the first 6 terms of the sequence, keeping 8 digits after the decimal point. </p><p>(c) Using the Secant Method and starting with the initial guesses of x1  0 ,and</p><p> x0  1.5 write down the first 6 terms of the sequence, keeping 8 digits after the decimal point.</p><p>(d) At each step calculate the true percent relative error ,  t ,and the </p><p> approximate percent relative error ,  a , and deduce the root of f (x) to 9 significant figures.</p><p>(e) Record the data of the above steps (a)-(d) in tabular form(tables) with entries</p><p> xn ,  t ,  a for each iteration. </p><p>(f) Compare all three methods as to their effectiveness in locating the true root, their accuracy and the convergence speed. </p><p>(g) Could you have terminated the iteration process earlier in the above computational results if you had used the “Scarborough Criterion” instead of the number of iterations? Explain your answer! </p><p>2 FITAMAT314.HOMEWORK ASSIGNMENT.No2.SPRING2007.doc</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us