CSE 541 Lab Assignments
Lab1 asks you to study different
Taylor's series approximations to a function, present your findings and most
importantly analyze your results, draw conclusions and discuss any descrepencies
on your expected answer and the answers generated via your sample programs.
Grade Breakdown:
- Results: (50%) I am expecting tables, figures or at least text descriptions
of the results they got from Lab1
- Floats (4 functions) with correct number of iterations: 20%
- Doubles (4 functions) with correct number of iterations: 20%
- Optimization: 10%
- Analysis: (40%)
- Correctness, errors, and timing analysis for floats (4 functions):
15%
- Correctness, errors, and timing analysis for doubles (4 functions):
15%
- Analysis of how optimization affects the correctness and timing: 10%
- Format of the report and easiness to read: (5%)
- Coding and Comments: (5%)
- (Extra credit) (5%) Plots of the resulting timings and integrals.
Notes:
- Converting from Resolve to C++, examine the sample progam in Resolve
and in C++. Thanks to Dr. Long for providing
this assistance.
- Note, if you still use Resolve, you are using protected arithmetic. This
is a great example of C++ overloading and hidden abstraction. Before
two Reals are divided, a test is done to ensure divide by zero does not
happen. This will slow your results, but still be informative.
- Use integers in all of your for loops.
Last updated January
26, 2004