Assignment 5
CpSc 872
Numerical Integration
Requirements:
. The requirement is for a program that will compute the integral for a specified function between two limits. The program will use Simpson’s Rule (explained in the handouts).
Submission package: You should submit the source code for the program and the required forms including the test report.
Due: email due PRIOR to 8 am Sept 29th
Required Test Data:
Integrate the normal distribution. The following table gives limits (each interval is from negative infinity to the value specified) and expected results.
|
Test value - x |
Expected Results |
Actual Results |
|
2.5 |
0.9938 |
|
|
0.2 |
0.5793 |
|
|
-1.1 |
0.1357 |