summaryrefslogtreecommitdiff
path: root/2300/CH5/EX5.7.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2300/CH5/EX5.7.10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2300/CH5/EX5.7.10')
-rwxr-xr-x2300/CH5/EX5.7.10/Ex5_10.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2300/CH5/EX5.7.10/Ex5_10.sce b/2300/CH5/EX5.7.10/Ex5_10.sce
new file mode 100755
index 000000000..8fd2ff372
--- /dev/null
+++ b/2300/CH5/EX5.7.10/Ex5_10.sce
@@ -0,0 +1,21 @@
+
+//scilab 5.4.1
+//windows 7 operating system
+//chapter 5:Semiconductor Junction Diodes
+clc
+clear
+Vz=3//Vz=breakdown voltage of zener diode
+Vi=12//Vi=input voltage
+V=[12;-3]//V=[Vi:-Vz]
+R1=1000
+R2=1000
+R3=500//R1,R2,R3=resistances
+R=[R1+R2 -R2;-R2 R2+R3]
+I1=inv(R)*V//solving this matrix on the basis of application of KCL & KVL,we get the values of branch currents I & Iz as I1=[I;Iz]
+disp("A",I1(1),"I=")
+disp("A",I1(2),"Iz=")
+Pz=Vz*I1(2)//Pz=power dissipated in zener diode
+disp("W",Pz,"Pz=")
+disp("Power dissipated does not exceed the maximum power limit of 20mW")
+
+