introduction_and_error_analysis_-_error2

# introduction_and_error_analysis_-_error2 - 1 2 Unavoidable...

This preview shows pages 1–13. Sign up to view the full content.

1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2
٣

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
٤
٥

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
٦
٧

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Unavoidable Errors in Computing Hardware problems: Example: Pentium TM Chip Documentation is critical for any code that is not going to be used and immediately discarded. Documentation takes the form of comment statements that describe the input and output parameters of a function as well as the steps performed in the analysis.
Unavoidable Errors in Computing Some software bugs are caused by deterministic errors in the execution of the problem. Example: Problems in the built-in functions such as sine or cosine and a series of operational commands.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Matlab Numerical Problems example >format long e >2.6 + 0.2 ans = 2.800000000000e+000 >ans + 0.2 ans = 3.000000000000e+000 >ans + 0.2 ans = 3.200000000001e+000 ^ Note The program has changed the value of ‘ans’
Matlab Numerical Problems Example Same method but different results. >format long e >2.6 + 0.6 ans = 3.200000000000e+000 >ans + 0.6 ans = 3.800000000000e+000 >ans + 0.6 ans = 4.400000000000e+000 >ans + 0.6 ans = 5

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Unavoidable Errors in Computing Numerical Errors are based on the mathematics of the problem.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern