1 2 3 4 5 6 7
clc //ex2.3 Vd=0.7;//volt Vs=6;//volt Vr1=Vs-Vd; //volt//Voltmeter's reading disp( 'Volt',Vr1*1,"Vr1=");