summaryrefslogtreecommitdiff
path: root/196/CH5/EX5.4/example_5_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /196/CH5/EX5.4/example_5_4.sce
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 '196/CH5/EX5.4/example_5_4.sce')
-rwxr-xr-x196/CH5/EX5.4/example_5_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/196/CH5/EX5.4/example_5_4.sce b/196/CH5/EX5.4/example_5_4.sce
new file mode 100755
index 000000000..b0d925ede
--- /dev/null
+++ b/196/CH5/EX5.4/example_5_4.sce
@@ -0,0 +1,15 @@
+//Chapter 5
+//Example 5-4
+//ProbOnZenerCurrentAndVoltage
+//Page 125,126, Figure 5-3(a)
+clear;clc;
+//Given
+Vo = 10.3 ; //Voltage across the load resistor
+Ei = 5 ; //Input voltage
+Ri = 1*10^3 ; //Input Resistance
+//Example 5-4(a)
+I = Ei / Ri ; //Zener Current
+printf ( "\n\n Zener Current = %.4f A", I )
+//Example 5-4(b)
+Vt = Vo - Ei ; //Zener Voltage
+printf ( "\n\n Zener Voltage = %.4f V", Vt ) \ No newline at end of file