Skip to main content

Adds all of the trigonometric functions using degrees instead of radians.

Project description

DegTrig

A PyPi module providing all of the trigonometric functions that deal in degrees. No more math and numpy radians confusion!

Generic badge

How does it work?

Use import DegTrig to get access to the convert functions:

from degtrig import *

and then use the functions:

sin(30)
cosh(1)
asin(1/2)
atanh(0.1)
cot(60)
asec(0.9)

Why DegTrig

math provides trigonometric functions however the normal functions use radians while the hyperbolic functions use degrees. It's all a little too much to remember! DegTrig provides the answer to this problem by unifying the functions so that they all use degrees (the better unit of rotation).

Installation

On bash:

$ pip install DegTrig

On windows:

python -m pip install DegTrig

Usage

Contributing

  1. Fork it ( https://github.com/ )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Make sure that the script does not have errors or warnings
  6. Create a new Pull Request

License

This tool is open source under the MIT License terms.

[Back To Top]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

degtrig-0.0.3.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page