plot (s + w)*(1 - f) - s with w = 3 and f = 1/2 for s from 0 to 5