B
Bindul Bhowmik
I am in a project and have to find out the value of cos of
an angle. The user will input the value of the angle only
in degrees. I am using the following expression to get the
radian equivalent of the input :
(Input Value / 180) * Math.PI
To find the Cos I am using the Function Math.Cos. But the
problem comes when I get an input value of 90 degrees, and
the cos dosent come out to be 0.
If anyone has worked on a similar problem, or has any idea
how to get around this problem, please reply.
an angle. The user will input the value of the angle only
in degrees. I am using the following expression to get the
radian equivalent of the input :
(Input Value / 180) * Math.PI
To find the Cos I am using the Function Math.Cos. But the
problem comes when I get an input value of 90 degrees, and
the cos dosent come out to be 0.
If anyone has worked on a similar problem, or has any idea
how to get around this problem, please reply.