clc; VL=-0.7; //volt Vin=-12; //volt VRS=Vin-VL; //volt disp('Vpk',VRS,"VRS=");//The answers vary due to round off error