--- In [email protected], rasheed abdul <rashu_76...@...> 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, 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.... > With regards, > M. RASHEED > > > Check out the all-new Messenger 9.0! Go to > http://in.messenger.yahoo.com/ > > [Non-text portions of this message have been removed] > Dear Sir,
Did you use the angular input expressed in degrees or radians. That is probably wherein your problem lies. Kocmotex
