formula for right angle triangle - Search