summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.19/Ex3_19.sce
blob: a949a61f054f38dc1eee3f6f16ba0bdbcbd98215 (plain)
1
2
3
4
5
6
7
8
9
clc;
//Ex3.19
IT=0.00495; //Ampere
Vz=9.1; //volt
RL=10000; //ohm
IL=Vz/RL; //Ampere//fromV=R*I
Iz=IT-IL; //Ampere/Iz=IT-IL;
disp('mA',Iz*1000,"Iz="); //The answers vary due to round off error