I appologise if this is the wrong forum. I figured triangles are trigonometry.
Are there any equilateral triangles where both h and a are integers?
I found this formula on the internet.
h = (1/2) * √3 * a
Is there any way to re-arrange it to get rid of the square root?
I'm trying to write a program to answer my original question but it would round off a value for the square root which would make it impossible to find a match. Sorry if this is really basic, I left school a long time ago.