About 964,000 results
Open links in new tab
  1. Python atan or atan2, what should I use? - Stack Overflow

    Mar 2, 2016 · Python atan or atan2, what should I use? Asked 9 years, 9 months ago Modified 4 years, 5 months ago Viewed 130k times

  2. math - Inverse of Tan in python (tan-1) - Stack Overflow

    I am trying to calculate the inverse of tan in python, but it does not give me the correct value, for example, if I were to do the inverse tan of 1.18, math.atan(1.18)

  3. python - from radiant to degress with numpy.arctan - Stack …

    Jan 17, 2022 · I want to calculate a Gradient with numpy. I use arctan (opposite side/adjacent). I want a result in degrees. opposite side = 75mm, adjacent = 0.10mm. adjacent I get as input. …

  4. python - What is the difference between numpy.atan and …

    Apr 8, 2025 · It is exactly the same object as numpy.arctan. It is not present before NumPy 2.0. If you still need to support 1.x versions of NumPy, you should stick to numpy.arctan until you no …

  5. python - Computing Arctan2 with 1 argument in Pandas …

    Nov 2, 2022 · I have a DF whereby I need to compute the arctan of two north/south wind components. However, it seems that the arctan2 function only takes 2 arguments x,y such …

  6. python - Using arctan / arctan2 to plot a from 0 to 2π - Stack …

    May 17, 2013 · If you plot arctan (tan (x)) from x = 0 to x = Pi, you will find that it has a discontinuous jump at x = Pi/2. For your case, instead of writing arctan (arg), I believe you …

  7. arctan(x) function in python - Stack Overflow

    Feb 8, 2015 · The Write a function that will return an approximate value for pi by evaluating the equation pi = arctan (1/5) - arctan (1/239), where arctan is the tangent function from the math …

  8. python - finding angles 0-360 in arctan - Stack Overflow

    Dec 2, 2020 · finding angles 0-360 in arctan Asked 4 years, 11 months ago Modified 4 years, 11 months ago Viewed 3k times

  9. How can I convert radians to degrees with Python?

    Mar 26, 2012 · 235 Python includes two functions in the math package; radians converts degrees to radians, and degrees converts radians to degrees. To match the output of your calculator …

  10. python - Calculating inverse trigonometric functions with formulas ...

    May 31, 2017 · The remarkable part is that, after the precomputation step, the arctan computation involves only additions, subtractions, and multiplications by by powers of 2. (Of course, those …