Analytic solutions of the normal modes and light transmission of a cholesteric liquid crystal cell