Can a parameter of a function be NULL like in the example below?
$ f_{AE}(t_x;i_1;i_2;p)= \begin{cases} \hfill \frac{\displaystyle\sum_{k=i_1}^{i_2} R_s(e_{c_k,t_x};a_k)}{p} \hfill & \text{if $p \neq NULL \land R_s(e_{c_k,t_x};a_k)= p$} \\ i_2 - i_1 \hfill & \text{if $p = NULL$} \\ \end{cases} $
Call option 1:
$f_{AE}(t_1;5;10)$
Call option 2:
$f_{AE}(t_1;5;10;5)$
Or do I need two completly separate functions with different parameters?
thx