About 1,040,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, 10 months ago Modified 4 years, 6 months ago Viewed 130k times

  2. I need to get angle from 0 to 360 degree on python by using atan …

    Dec 5, 2022 · I use math.atan() or math.atan2() functions but the angles are betweeen 0 and 90 or 0 and -90 i know that the math.atan() function give me the values which are between pi/2 or …

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

    Apr 8, 2025 · 3 numpy.atan is one of the aliases added to the NumPy main namespace in NumPy 2.0 as part of NEP 56, a drive to support a shared standard interface for Python array libraries. …

  4. 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)

  5. python - How to convert from atan to atan2? - Stack Overflow

    Oct 21, 2020 · In Python, if one wanted to create the effect of atan2() from the atan() function, how would one go about this? For example, if I had cartesian coordinates (x, y) and wanted to …

  6. How can I convert radians to degrees with Python? - Stack Overflow

    Mar 26, 2012 · What are radians and what problem do they solve?: Radians and degrees are two separate units of measure that help people express and communicate precise changes in …

  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. How can I calculate tangent with degrees instead of radians?

    I am trying to make a basic tool to make my everyday easier, solving some assignments for me. Unfortunately, I can't figure out how to make it calculate in degrees when tangent is being …

  9. Error while I use math.atan in Python! - Stack Overflow

    Dec 14, 2010 · In Python, dividing integers yields an integer -- 0 in this case. There are two possible solutions. One is to force them into floats: 1/2. (note the trailing dot) or float (1)/2. …

  10. Using arctan / arctan2 to plot a from 0 to 2π - Stack Overflow

    May 17, 2013 · I am trying to replicate a plot in Orbital Mechanics by Curtis, but I just can't quite get it. However, I have made head way by switching to np.arctan2 from np.arctan. Maybe I am …