The mathematical formulation of the use case is provided as a jupyter notebook. However, because of some math expressions, the jupyter notebook may not get rendered properly depending on where you are trying open it. So we provide a PDF version as well.