Question 835599
If by shorter, you mean the side of shortest length...
h=2s=20

otherwise:

{{{10^2+(h/2)^2=h^2}}}

which leads to

{{{h=20/3*sqrt(3)}}}