I am not sure how to solve these equations because the involve the ceiling function. I am trying to solve for $M$ and $L$ in terms of only $C$. Is there a way? If not, is there an algorithm that could calculate $M$ and $L$ values based on a given $C$ value? Here are the equations:
$M = C + L - 1$
$L = \lceil\ 0.06\ M\ \rceil$