[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1329
  • Last Modified:

Inverse of tan

hello everybody,

i just need to know how to find  inverse of tan or (tan-1).
Please provide me with the line of code.


thanks
0
ZUBAIR
Asked:
ZUBAIR
  • 4
  • 3
  • 2
1 Solution
 
ZUBAIRAuthor Commented:
atan is some thing different....

if for example inverse of tan for 1 = 45
    -1
tan    1 = 45

    -1
tan    5 = 78.69

whereas using atan the results are

atan 1 = 0.785
atan 5 = 1.373

I hope now it is clear
0
 
CEHJCommented:
>> atan is some thing different....

It isn't

>>whereas using atan the results are

That's because the result is in radians
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ZUBAIRAuthor Commented:
how to convert radians?
0
 
william007Commented:
Math.toDegrees(Math.atan(1)) will give you 45.

As Math.atan(1) will return 0.7853981633974483(in radian)
so using the Math.toDegrees method , will convert it to degree.
ie. Math.toDegree(0.7853981633974483)=45
0
 
CEHJCommented:
:-)
0
 
ZUBAIRAuthor Commented:
thanks :)
0
 
william007Commented:
welcome:)
0
 
CEHJCommented:
You might have credited william007 for the extra info ;-)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now