trigonometric functions

EK343

To avoid round-off error when using trigonometric functions, angles in intermediate calculations should generally be taken to at least two places beyond the decimal point.