Solved

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

Posted on 2010-09-06
2
925 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:Sukhani
2 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 33609332
Math.Atan2(45, 1) * 180/Math.PI
0
 
LVL 16

Accepted Solution

by:
Peter Kwan earned 500 total points
ID: 33609371
You may use this formula:

System.Math.Atan(45) * 180 / System.Math.PI
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Article by: Nadia
Linear search (searching each index in an array one by one) works almost everywhere but it is not optimal in many cases. Let's assume, we have a book which has 42949672960 pages. We also have a table of contents. Now we want to read the content on p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now