Exercise 3: User Written Functions




Document: Software Engineering 1: Course Notes

next Preparation
up Session 4: Week 7/8
previous Session 4: Week 7/8

Exercise 3: User Written Functions

For the math library functions sin(x) and cos(x), the value of x must be expressed in radians. Write functions Sine(a) and Cosine(a), for which the argument, a, must be expressed in degrees of arc. All types are double.



McMullin@ugmail.eeng.dcu.ie
Wed Mar 15 10:20:49 GMT 1995