Two points are chosen independently at random on the perimeter (including the diameter) of a semicircle of unit radius. The area of the triangle whose vertices are these two points and the midpoint of the diameter is denoted by the random variable $A$. Show that the expected value of $A$ is $(2+\pi)^{-1}$.