Link to home
Start Free TrialLog in
Avatar of Sukhani
SukhaniFlag for India

asked on

How to calculate Arc Tangent / Inverse Tangent in .net ?

Hello Guys,

I need a small code in VB.NET which gives me Arc Tangent / Inverse of tangent. For example : ArcTangent(45) should return a value of 88.7270.

I did some search but couldn't come up with a inbuilt .net function or algorithm.

I would be grateful if anyone can help me out here.

Thank you,

Cheers,
Saurabh
Avatar of ozo
ozo
Flag of United States of America image

Math.Atan2(45, 1) * 180/Math.PI
ASKER CERTIFIED SOLUTION
Avatar of Peter Kwan
Peter Kwan
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial