This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (e) Compare the relative performance of the three methods for this problem reporting the approximate error versus iteration number, the order of convergence, and the asymptotic error constant . 2. Speedtest. Compare the execution times of the three methods you used in problem 1 (b), (c), and (d) using the MatLab functions tic and toc . Further compare these times with timing for a root obtained from a call to the MatLab function fzero . Can you draw any conclusions regarding the computational eciency of the MatLab builtin functions? 3. Extra Credit 10pts. Optimize a MatLab code that you write yourself based on any open method that starts at the ideal gas volume and nds the real gas solution to problem 1 with 7 signicant gures of precision. Report your execution time and provide the mle. The 5 codes with the smallest execution times (on the TAs computer) will garner extra credit....
View
Full
Document
 Fall '09
 Ceweb
 Chemical Engineering

Click to edit the document details