$$
f_\textit{quadratic}(t) =
\begin{cases}
1-3t^2 & \text{if\ \ \ } t < \frac{1}{3} \\
1.5t^2 - 3t + 1.5 & \text{if\ \ \ } \frac{1}{3} \leq t < 1 \\
0 & \text{otherwise}
\end{cases}
$$
falloff_quadratic(t) =
{ 1-3t^2 if t < 1/3
{ 1.5t^2 - 3t + 1.5 if 1/3 <= t < 1
{ 0 otherwise