From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2300/CH5/EX5.7.12/Ex5_12.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2300/CH5/EX5.7.12/Ex5_12.sce (limited to '2300/CH5/EX5.7.12') diff --git a/2300/CH5/EX5.7.12/Ex5_12.sce b/2300/CH5/EX5.7.12/Ex5_12.sce new file mode 100755 index 000000000..55fa7c87e --- /dev/null +++ b/2300/CH5/EX5.7.12/Ex5_12.sce @@ -0,0 +1,17 @@ + +//scilab 5.4.1 +//windows 7 operating system +//chapter 5:Semiconductor Junction Diodes +clc +clear +V=35//V=supply voltage +Iz=25*10^(-3)//Iz=diode current +Il=5*10^(-3)//Il=load current +Vzo=7//Vzo=knee voltage of zener diode +rZ=6//rZ=dynamic resistance in ohms +Vz=Vzo+(rZ*Iz)//Vz=zener voltage +disp("V",Vz,"Vz=") +I=Iz+Il//I=current through resistance R +disp("A",I,"I=") +R=(V-Vz)/I +disp("ohm",R,"R=") -- cgit