calculate height in normal triangle