Linear formula in which all negative values are replaced by 0?

34 Views Asked by At

I am looking for a mathetmatic expression for a linear formula such as y = x - 50, for which all negative values are replaced by zero, so that this part of the formula creates a horizontal line (y = 0) when plotted.