R/hypotex.R

Defines functions hypotex

Documented in hypotex

## Give the tex code of the hypotenuse in a right triangle with integer
## Lengths of the legs.

hypotex <- function(a,b){ 
  y <- simpRad(a^2+b^2)
  return(y)
}

Try the Tex4exams package in your browser

Any scripts or data that you put into this service are public.

Tex4exams documentation built on May 31, 2023, 8:04 p.m.