Optimal embedded and enclosing isosceles triangles