Description Usage Arguments Value Examples
Computes angle between two segments of a triangle using law of cosines.
1 | cosine.ang(l, r, o)
|
l |
Numeric; length of segment to the left |
r |
Numeric; length of segment to the right |
o |
Numeric; length of opposite segment |
A single value of the angle in radians
1 2 3 4 5 | #a right triangle
L=3
R=3
O=sqrt(L^2+R^2)
cosine.ang(L,R,O)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.