Python Forum
How do I get the tangent of a degree
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I get the tangent of a degree
#1
I was trying to get the tangent of a degree, but math.tan returns the radian. How do I get the tangent of a degree? I hope I worded that right.

I figured it out, I just need to use math.radians on the number I was trying to find the tangent of according to a stackoverflow thread I found here - https://stackoverflow.com/questions/9875...to-degrees
Reply


Messages In This Thread
How do I get the tangent of a degree - by SheeppOSU - Oct-24-2019, 01:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to map 360 degree angle over 1024 counts breadcat248 3 2,554 May-17-2019, 07:13 AM
Last Post: breadcat248
  Python function to get colorwheel RGB values from compass degree? wrybread 5 8,348 Sep-06-2017, 05:36 PM
Last Post: wrybread

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020