N4 - ME – 510 NUMERICAL METHODS FOR ME II ROUND-OFF ERROR...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ME – 510 NUMERICAL METHODS FOR ME II ROUND-OFF ERROR DURING COMPUTATIONS Find E using a computer 3 3 ª § 25 8 · º 6 §1· E 10 «¨ ¸ - ¨ - ¸ » «© 27 ¹ © 27 9 ¹ » ¬ ¼ 1/ 3 Note that the exact answer is zero. Follow this procedure: §1· A¨ ¸ © 27 ¹ 3 x Store § 25 · B¨ ¸ © 27 ¹ C 8 9 x Calculate and store D = (B - C) 3 E 10 6 (A - D)1 / 3 Fall 2007 x Calculate, store and print 3URI 'U )DUXN $UÕQo ME – 510 NUMERICAL METHODS FOR ME II ROUND-OFF ERROR DURING COMPUTATIONS The answer, with a PC and Fortran compiler, is Single precision: Double precision: E = 443.632800 E = 0.00000000 3URI 'U )DUXN $UÕQo Fall 2007 ...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online