Muhammad Zaheer Aziz and Khalid Rashid
Information Technology Journal, 2002, 1(2), 136-141.
A wide range of scientific areas requires calculation of trigonometric ratios like sine and cosine repeatedly in their computations. The calculation of these trigonometric ratios is implemented in the library functions of programming languages using Maclaurin`s series which is a processor hungry technique. This paper aims for introducing a method to calculate the trigonometric ratios in an efficient manner as compared to available technique. The proposed method of stroing the results of sine and cosine functions for all integer and fractonal angles into separate arrays. In order to calculate the sine or cosine value for a particular angle the integer part is considered as α and the fractional part as β. The trigonometric relations for Sin ( α + β ) and Cos (α + β) are used to combine the result of integer and fractional parts. The outcome of the new method was tested in terms of accuracy, storage space and efficiency using a program written in C++. It was found that the proposed method provides 100% accuracy, saves storage space, and is faster as compared to the existing methods.
ASCI-ID: 28-77