<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\small
\begin{align}
  p =
  \begin{cases}
    p_d &amp; r &lt; r_{min} \\
    \frac{r_{max} - r}{r_{max} - r_{min}} \cdot p_d &amp;   r_{min} \leq r  \leq r_{max} \\
    0 &amp; otherwise \\
    \end{cases}
\end{align}
\normalsize


</pre></body></html>