is_rightangle: Check if Triangle has a Right Angle

Description Usage Arguments Value Examples

View source: R/is_rightangle.R

Description

Check if Triangle has a Right Angle

Usage

1
is_rightangle(a = 3, b = 4, c = 5)

Arguments

a

Length of 1st side, doesn't need to be the longest or shortest

b

Length of 2nd side, doesn't need to be the longest or shortest

c

Length of 3rd side, doesn't need to be the longest or shortest

Value

The function returns true if it is right angle triangle, else false.

Examples

1
is_rightangle(6,8,10)

hzwangjiren/jiren441final documentation built on Jan. 1, 2021, 3:23 a.m.