Let $ g(t) = \left ( \frac{dz}{dt} \right ) $
Therefore, $ m_k = \left ( \frac {1}{k\pi} \sin ( \frac {k\pi}{4} ) \right) $