summaryrefslogtreecommitdiff
path: root/2498/CH3/EX3.16/ex3_16.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2498/CH3/EX3.16/ex3_16.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 '2498/CH3/EX3.16/ex3_16.sce')
-rwxr-xr-x2498/CH3/EX3.16/ex3_16.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2498/CH3/EX3.16/ex3_16.sce b/2498/CH3/EX3.16/ex3_16.sce
new file mode 100755
index 000000000..9b228c27c
--- /dev/null
+++ b/2498/CH3/EX3.16/ex3_16.sce
@@ -0,0 +1,17 @@
+// Exa 3.16
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+R = 50;// in ohm
+Vin = 10;// in V
+V_Z = 6;// in V
+I = (Vin-V_Z)/R;// in A
+I = I * 10^3;// in mA
+I_Zmin = 5;// in mA
+// I = I_Z+I_L;
+I_Rmax = I-I_Zmin;// in mA
+// The minimum value of R
+R = V_Z/(I_Rmax*10^-3);// in ohm
+disp(R,"The minimum value of R in ohm is");