Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Math opperators
#1
can I calculate sin, cos, and tan in python if so how and if not are there any modules I can download and import into my project??? Smile
Reply
#2
sure you can
begin with:
import math
then all functions are here https://docs.python.org/2/library/math.html
or for python 3.6 https://docs.python.org/3.6/library/math.html
some examples here: https://www.dotnetperls.com/math-python
Reply
#3
Thanks!!! Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  math.log versus math.log10 stevendaprano 10 2,388 May-23-2022, 08:59 PM
Last Post: jefsummers
  Why getting ValueError : Math domain error in trig. function, math.asin() ? jahuja73 3 3,761 Feb-24-2021, 05:09 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

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