CSC444
– Software Engineering – Assignment 5
Assignment: Write a program to numerically
integrate a function using Simpson’s rule and write the function for the normal distribution.
Due: November 14, at start of
lab session.
Weight: 5% of final grade.
Requirements:
- Before you do the assignment, you should understand what the
Simpson’s rule is, and how is it used. Section A5 of Humphrey’s book
covers it. Your program should follow the procedure stated in that
section.
- The program should be designed to integrate using various types of
functions (for now, we are concerned with the normal distribution, but later
on you should be able to expand it to cover the t distribution and the chi-square distribution.
- You are responsible for resolving any issue not covered by these
requirements. Document all your assumptions and decisions wherever
requirements are unclear.
Process:
You should follow the PSP1.1 process as presented in the Discipline for Software
Engineering textbook. The forms needed for the process are pages 5, 6, 14, 16
and 17 of the file: http://www.cs.toronto.edu/~jaranda/csc444/forms.pdf
Deliverables:
Deliver the following documents and forms, in
physical form, in this order:
- PSP1.1 Project Plan
Summary
- Size Estimating Template
- Time Recording Log
- Defect Recording Log
- Source code printout
- Test summary, indicating how you ensured that the code is correct.
Include test code printouts if you automated tests (recommended)
- No report is required
this time, although you should include all assumptions taken while doing
the program.
Marking
scheme:
- 70% - adherence to the PSP, correct and complete use of forms
- 30% - quality of assignment code, test code (if any) and test
summary