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.8/Ex5_8.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 2300/CH5/EX5.7.8/Ex5_8.sce (limited to '2300/CH5/EX5.7.8') diff --git a/2300/CH5/EX5.7.8/Ex5_8.sce b/2300/CH5/EX5.7.8/Ex5_8.sce new file mode 100755 index 000000000..ea415cdd3 --- /dev/null +++ b/2300/CH5/EX5.7.8/Ex5_8.sce @@ -0,0 +1,24 @@ + +//scilab 5.4.1 +//windows 7 operating system +//chapter 5:Semiconductor Junction Diodes +clc +clear +V=15//V=supply voltage +Vz=12//Vz=Zener voltage +P=0.36//P=power of Zener diode +//P=Vz*I +I=(P/Vz)//I=maximum allowable Zener current +disp("A",I,"I=") +Vr=V-Vz//Vr=voltage drop across series resistance R +disp("V",Vr,"Vr=") +R=Vr/I//R=series resistance +disp("ohm",R,"R=") +//I=Iz+Il +Iz=2*(10^-3)//Iz=minimum diode current +Il=I-Iz//Il=current through load resistance Rl +disp("A",Il,"Il=") +Rlm=Vz/Il//Rlm=minimum value of Rl +disp("ohm",Rlm,"Rlm=") +disp("The allowable range of variation of Rl is 428.6ohm<=Rl