where s = perimeter of triangle.