summaryrefslogtreecommitdiff
path: root/135/CH3/EX3.13/EX13.sce
diff options
context:
space:
mode:
Diffstat (limited to '135/CH3/EX3.13/EX13.sce')
-rwxr-xr-x135/CH3/EX3.13/EX13.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/135/CH3/EX3.13/EX13.sce b/135/CH3/EX3.13/EX13.sce
new file mode 100755
index 000000000..abe23809f
--- /dev/null
+++ b/135/CH3/EX3.13/EX13.sce
@@ -0,0 +1,14 @@
+// Example 3.13: Range of load current
+clc, clear
+Vz=5; // in volts
+Izmin=50e-3; // in amperes
+Izmax=1; // in amperes
+Vmin=7.5; // in volts
+Vmax=10; // in volts
+Rs=4.75; // in ohms
+ILmin=((Vmax-Vz)/Rs)-Izmax; // in amperes
+ILmin=ILmin*1e3; // in miliamperes
+ILmax=((Vmin-Vz)/Rs)-Izmin; // in amperes
+ILmax=ILmax*1e3; // in miliamperes
+disp(ILmin,"ILmin (mA) =");
+disp(ILmax,"ILmax (mA) ="); \ No newline at end of file