Find as a function of if
and