1 2 3 4 5 6 7
clc; Vcon=6; Vcc=12; VT1=(1/2)*Vcon; VT2=(1/3)*Vcc; disp('V',VT1,"VT1=");//The answers vary due to round off error disp('V',VT2,"VT2=");//The answers vary due to round off error