The file made with MSWLogo for wikipedia ( <a rel="nofollow" class="external free" href="http://www.maecla.it/tartapelago.htm">http://www.maecla.it/tartapelago.htm</a> )shows a logo procedure for making a right triangle of cathetal data
<a href="//commons.wikimedia.org/wiki/User:Giorgio_Pietrocola" title="User:Giorgio Pietrocola">Giorgio Pietrocola</a>
CC BY-SA 4.0
<span class="int-own-work" lang="en">Own work</span>