#' hypotonuseToLeg
#'
#' This function returns calculate the length of one leg of a 45° 45° 90° triangle from its hypotenuse
#' @param x The length of a 45-45-90 triangle's leg
#' @keywords hypotonuseToLeg
#' @export
#' @examples
#' hypotonuseToLeg()
hypotonuseToLeg = function(x){
return(x / sqrt(2))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.