diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2102/CH4/EX4.12 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2102/CH4/EX4.12')
-rwxr-xr-x | 2102/CH4/EX4.12/exa_4_12.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2102/CH4/EX4.12/exa_4_12.sce b/2102/CH4/EX4.12/exa_4_12.sce new file mode 100755 index 000000000..89e236138 --- /dev/null +++ b/2102/CH4/EX4.12/exa_4_12.sce @@ -0,0 +1,18 @@ +// Exa 4.12
+clc;
+clear;
+close;
+// Given data
+Vout= 8;// in V
+V_F= 1.8;// in V
+Ip_max= 16;// in mA
+Ip_max= Ip_max*10^-3;// in A
+I_F= Ip_max;
+Rs1= (Vout-V_F)/I_F;// in Ω
+disp(Rs1,"If V_F= 1.8, then the value of Rs in Ω is :")
+// If
+V_F= 2.0;// in V
+Rs2= (Vout-V_F)/I_F;// in Ω
+disp(Rs2,"If V_F= 2.0, then the value of Rs in Ω is :")
+disp("In either case, the smallest standard value resistor that has a value greater than "+string(Rs1)+ "Ω and "+string(Rs2));
+disp("ohm resistor .is the 390 Ω")
|