pythag: Calculate the pythagorean theorem to solve for A, B, or C

Description Usage Arguments Value References Examples

Description

Given that A and B are the legs of a right triangle and C is its hypotenuse: solve for A, B, or C given any other two.

Usage

1
  pythag(a = NULL, b = NULL, c = NULL)

Arguments

a

Leg 1

b

Leg 2

c

Hypotenuse

Value

numeric The length of the unspecified side

References

http://en.wikipedia.org/wiki/Pythagorean_theorem

Examples

1
pythag(a=3,c=pythag(3,4))

russmisc documentation built on May 2, 2019, 4:44 p.m.