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
#2
The math module has two functions for converting between radians and degrees, so to get the tangent in degrees of a measurement in degrees, you would use math.degrees(math.tan(math.radians(theta)), where theta is the angle you are getting the tangent for.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to map 360 degree angle over 1024 counts breadcat248 3 2,557 May-17-2019, 07:13 AM
Last Post: breadcat248
  Python function to get colorwheel RGB values from compass degree? wrybread 5 8,352 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