summaryrefslogtreecommitdiff
path: root/2231/CH1/EX1.20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2231/CH1/EX1.20
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 '2231/CH1/EX1.20')
-rwxr-xr-x2231/CH1/EX1.20/Ex_1_20.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/2231/CH1/EX1.20/Ex_1_20.sce b/2231/CH1/EX1.20/Ex_1_20.sce
new file mode 100755
index 000000000..50f1ab952
--- /dev/null
+++ b/2231/CH1/EX1.20/Ex_1_20.sce
@@ -0,0 +1,30 @@
+//Example 1_20
+clc;
+clear;close;
+
+//Given data
+V=800;//V
+I=110;//A
+Es=12;//V
+Im=250;//mA
+Ish=600;//mA
+VG=2.4;//V
+IG=50;//mA
+IGm=100;//mA
+VGm=3;//V
+Rs=Es/(Ish*10^-3);//ohm
+disp(Rs,"Value of Rs in ohm ");
+R1=Es/(Im*10^-3)-Rs;//ohm(Assumed R2 is not connected)
+//Rs_plus_R1>=Es/(IGm*10^-3);//ohm
+Rs_plus_R1=Es/(IGm*10^-3);//ohm
+R1_Lower=Rs_plus_R1-Rs;//ohm
+//Rs_plus_R1<=(Es-VG)/(IGm*10^-3);//ohm
+Rs_plus_R1=(Es-VG)/(IG*10^-3);//ohm
+R1_Upper=Rs_plus_R1-Rs;//ohm
+disp("R1 must be more than "+string(R1_Lower)+" ohm and less than "+string(R1_Upper)+" ohm.")
+disp("Let R1 is 125 ohm.");
+R1=125;//ohm
+//R2*Es/(R1+R2+Rs)<=VGm
+R2=(VGm*R1+VGm*Rs)/(Es-VGm);//ohm
+disp("R2<="+string(R2)+" ohm ")
+disp("Let R2 is 48 ohm.");