Solved

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

Posted on 2010-09-06
2
964 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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