You know that
, which solves (a) as
With
and wanting a quadratic with real coefficients, our second root must be the conjugate of
, which is
. We then have
and
and thus our quadratic is
which has solutions
Looking at the result in the last part, it appears we need the imaginary part of one of the roots.
Now, we know that, on
, the function
increases from 0 to a maximum of 1 (occurring when
) and then decreases back to 0. We therefore know that:
and thus that
and that
and so we can conclude that
and
and by equating the imaginary parts of either
or
, we get
---
Note, we can get other identities by means such as putting
into the expression from (a), and taking the real part, to give: