summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.17/Ex3_17.sce
blob: 1ea0b2ab9ec34ce6992129b95c008e048cf87a50 (plain)
1
2
3
4
5
6
7
clc;
//ex3.17
Vin=20; //volt
Vz=9.1; //volt
Rs=2200; //ohm
I=(Vin-Vz)/Rs; //Ampere
disp('mA',I*1000,"I="); //The answers vary due to round off error