1 2 3 4 5 6 7
clc; //ex3.6 Vave=26.8; //Volt RL=20000; //Ohm Iave=Vave/RL; //Ampere//from v=r*i disp('mA',Iave*1000,"Iave=");