Solver FIND hypotenuse by two sides
Algebra
->
Triangles
-> Solver FIND hypotenuse by two sides
Log On
Geometry: Triangles
Geometry
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'FIND hypotenuse by two sides'
This Solver (FIND hypotenuse by two sides)
was created by by
ichudov(507)
:
View Source
,
Show
,
Put on YOUR site
About ichudov
:
I am not a paid tutor, I am the owner of this web site!
==section input In a right triangle, one side is *[input a=4] and another is *[input b=3]. Find out hypotenuse. ==section solution As we know from pythagorean theorem, length of hypoenuse c and sides are related as {{{a^2+b^2=c^2}}}. *[assign c=sqrt($a^2+$b^2) )] So, side {{{c=sqrt( a^2+b^2 ) = sqrt( $a^2 + $b^2 ) = $c}}} ==section output c ==section check a=4 c=5 b=3 a=3 c=5 b=4