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 details)

Uploaded Source

File details

Details for the file degtrig-0.0.3.tar.gz.

File metadata

  • Download URL: degtrig-0.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for degtrig-0.0.3.tar.gz
Algorithm Hash digest
SHA256 18080e7b8b4cb31e11b8817aea57cd0dde50f5e2cbd2f2cc83782c591dacf7d0
MD5 caf7a9f163eef8fcaa889b12ae14889c
BLAKE2b-256 ece279d94fc7a8bcdb8ebd62a17ee0edc37caa298ac5297d26e970f481fee3e0

See more details on using hashes here.

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