0

Is there any python module that implements sine, cosine, arcsine etc. and doesn't require me to do cumbersome deg-rad-conversions every time I invoke them? I'm looking for something like:

>>>sin(90)
1
>>>arccos(90)
0
  • "doesn't require me to do cumbersome deg-rad-conversions" – Q Stollen Dec 17 '19 at 22:28
  • 1
    I don't believe there is one. You can always create your own functions which convert internally. Otherwise just do the conversion. It's a supplied function so not really cumbersome: math.radians(x) if you import it right it can be as simple as radians(x). – Eric Shain Dec 17 '19 at 23:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.