No doubt at tall All these trignometric function requires their arguments to be in radians and not in degrees. I hope you have conversion formula to convert degree to radian
On Fri, Mar 6, 2009 at 3:58 PM, Paul Herring <[email protected]> wrote: > On Fri, Mar 6, 2009 at 9:03 AM, rasheed abdul > <[email protected]<rashu_76969%40yahoo.com>> > wrote: > > Dear Sir, > > While using cos( ) function to find the cos value of 30, 60, 90, > 120, 130, 150,.. > > etc.. in C , the output is coming wrongly, > > I somehow doubt that... > > > for example , In scientific calculator the value of Cos(30) is 0.866 > and in Trignometric > > table, Cos(30) value is (root of 3 by 2 ) which is also 0.866, but In C, > I am getting 0.1542. > > Tell me the reason and guide me to get exact value.... > > Those functions take radians as their parameter, your table is likely > in degrees. > > -- > PJH > > http://shabbleland.myminicity.com/ind > http://www.chavgangs.com/register.php?referer=9375 > > -- Akter Yakub Suriya Senior Software Analyst Hyderabad. (09440711663) [Non-text portions of this message have been removed]
