I want to plot y1 = 100.0 – 90.0*exp(-0.0465*t); and y2 = 203.6 – 11.3*t; together on the same plot

and then plot ( y = y1 +y2 ) for t = (0,50) but I don't want to include the (-ve) values of y2, i.e replace the (-ve) values of y2 with zero.

something like a new function y3 = [ ( if (t<203.6/11.3) y3 = y2 else y3 = 0 ]

## Best Answer