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

drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.