This block computes the output y as extended square root of the input u:
sqrt(u) if u > 0 y = 0 if u ≤ 0
The noEvent function prevents the negative input values from being evaluated by the sqrt function, thus avoiding an error.