Project Description
Release History
## Release History

Download Files
## Download Files

Written by Steven Byrnes, http://sjbyrnes.com/

Download: https://pypi.python.org/pypi/trianglesolver/ Source code repository: https://github.com/sbyrnes321/trianglesolver

This little package applies the law of sines or cosines to find all the sides and angles of a triangle, if you know some of the sides and/or angles.

The main function defined by this package is solve(…). Simple example:

from math import pi from trianglesolver import solve a,b,c,A,B,C = solve(b=7.6, c=8.3, A=pi/3)

Following the usual convention, lower-case letters are side lengths and capital letters are angles. Corresponding letters are opposite each other, e.g. side b is opposite angle B.

All angles are in radians! However, you can use the degree constant to convert:

from trianglesolver import solve, degree a,b,c,A,B,C = solve(b=7, A=5*degree, B=70*degree) print(C / degree)

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

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

File Name & Checksum SHA256 Checksum Help | Version | File Type | Upload Date |
---|---|---|---|

trianglesolver-1.1.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 | – | Source | Dec 17, 2016 |