determinacion <- function(b, r, j, truss){
if (b + r == truss*j){
leyenda <- "Estáticamente determinada"
} else {
if (b + r > truss*j){
leyenda <- "Estáticamente indeterminada"
} else {
leyenda <- "Inestable"
}
}
return(list(leyenda=leyenda, b=b, r=r, j=j, br=b+r, j2=2*j))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.