- This calculation program will work to find length of side by Pythagorean Theorem.

**Pythagorean Theorem**

When the lengths of the three sides of a right triangle are a, b, and c, and the hypotenuse is c,

**a**^{2}+ b^{2}= c^{2}

is established.

- Please input the length of the two sides. Program will find the length of another side.
- You input two sides, however,
**be sure to set c to the hypotenuse**, and leave the side you want to find blank. - Avilable fraction and radical value. Program solve answer with them.
- Input rule about fraction and radical value

- Fraction : please input in the order of numelator, srash, denominator, like "2/3".
- Radical value : please input in the order of "outside", "r", "inside of radical".

For example, if you'd like to input 3√5 , please input like**"3r5"**.

- If you'd like to input 3√2/5 , please input like as
**"3r2/5"**.

- Value as Sum / difference / mixed fractions / decimal numbers are not available.
- Number of characters that can be input, is 7. It include "/" and "r".
- If it is determined that the load is heavy, the process will stop.

Please input the length of the two sides,

a | b | c |
---|---|---|

hypotenuse |

code