//example 3.7(b)// clc //clears the screen// clear //clears already existing variables// disp('when V(i)=5V, the transistor T(1) is operating at point C') V=0; disp('output voltage in volts=') disp(V) //all the outcomes are as per the diagram//