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 /1859/CH4 | |
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 '1859/CH4')
-rwxr-xr-x | 1859/CH4/EX4.1/exa_4_1.sce | 33 | ||||
-rwxr-xr-x | 1859/CH4/EX4.2/exa_4_2.sce | 31 | ||||
-rwxr-xr-x | 1859/CH4/EX4.4/exa_4_4.sce | 19 | ||||
-rwxr-xr-x | 1859/CH4/EX4.5/exa_4_5.sce | 13 | ||||
-rwxr-xr-x | 1859/CH4/EX4.6/exa_4_6.sce | 17 | ||||
-rwxr-xr-x | 1859/CH4/EX5.2/exa_5_2.sce | 12 |
6 files changed, 125 insertions, 0 deletions
diff --git a/1859/CH4/EX4.1/exa_4_1.sce b/1859/CH4/EX4.1/exa_4_1.sce new file mode 100755 index 000000000..541fccc32 --- /dev/null +++ b/1859/CH4/EX4.1/exa_4_1.sce @@ -0,0 +1,33 @@ +// Exa 4.1
+clc;
+clear;
+close;
+// Given data
+V_CC= 12;// in volt
+V_BE=0.7;//in volt
+Rsm=4.3;//value o Rs+Rm in kohm
+I=1;//in mA
+
+// Part (i)
+V= 5;//in volt
+V_E= V-V_BE;// in volt
+Im= V_E/Rsm;// in mA
+I_E=Im;// in mA
+disp(Im,"Meter Current in mA")
+
+// Part(ii)
+h_FE= 100;
+Im=Im*10^-3;//in amp
+I_B= Im/h_FE;// in amp
+Rin= V/I_B;// in ohm
+disp(Rin*10^-3,"Input resistance with transistor in kohm")
+// without transistor
+Rin= Rsm;
+disp(Rin,"Input resistance without transistor in kohm")
+
+// Part(iii)
+V=2.5;// in volt
+V_E= V-V_BE;// in volt
+Im= V_E/Rsm;// in mA
+I_E=Im;// in mA
+disp(Im,"Meter current when the dc input voltage is 2.5 volt in mA")
diff --git a/1859/CH4/EX4.2/exa_4_2.sce b/1859/CH4/EX4.2/exa_4_2.sce new file mode 100755 index 000000000..71373df2c --- /dev/null +++ b/1859/CH4/EX4.2/exa_4_2.sce @@ -0,0 +1,31 @@ +// Exa 4.2
+clc;
+clear;
+close;
+// Given data
+V_CC= 12;// in volt
+V_BE=0.7;//in volt
+R_E1=3.3;// in kohm
+V_EE= -12;// in volt
+// Part (a) when V=0
+V= 0;//in volt
+V_E1= V-V_BE-V_EE;// in volt
+I_E1= V_E1/R_E1;// in mA
+disp(I_E1,"emitter current when input voltage is zero volt, in mA")
+
+// Part(b)
+// Part (i) when V=2 volt
+V= 2;//in volt
+V_P=0;
+V_E1= V-V_BE;// in volt
+V_E2= V_P-V_BE;// in volt
+Vm= V_E1-V_E2;// in volt
+disp(Vm,"Meter circuit voltage when input voltage is 2 volt, in volt")
+
+// Part (ii) when V=1 volt
+V= 1;//in volt
+V_P=0;
+V_E1= V-V_BE;// in volt
+V_E2= V_P-V_BE;// in volt
+Vm= V_E1-V_E2;// in volt
+disp(Vm,"Meter circuit voltage when input voltage is 1 volt, in volt")
diff --git a/1859/CH4/EX4.4/exa_4_4.sce b/1859/CH4/EX4.4/exa_4_4.sce new file mode 100755 index 000000000..de56427df --- /dev/null +++ b/1859/CH4/EX4.4/exa_4_4.sce @@ -0,0 +1,19 @@ +// Exa 4.4
+clc;
+clear;
+close;
+// Given data
+Im= 200;// in micro A
+Im=Im*10^-6;// in amp
+Rm= 5;// in kohm
+Rm=Rm*10^3;// in ohm
+I_B= 0.5;// in micro amp
+I_B=I_B*10^-6;// in amp
+V=25;// in mV
+V=V*10^-3;// in volt
+Vout= Im*Rm;// in volt
+I= 500*I_B;// in amp
+R1= V/I;// in ohm
+disp(R1,"Resistor in ohm")
+Rf= (Vout-V)/I;// in ohm
+disp(Rf*10^-3,"Feedback resistor in kohm")
diff --git a/1859/CH4/EX4.5/exa_4_5.sce b/1859/CH4/EX4.5/exa_4_5.sce new file mode 100755 index 000000000..307a21b99 --- /dev/null +++ b/1859/CH4/EX4.5/exa_4_5.sce @@ -0,0 +1,13 @@ +// Exa 4.5
+clc;
+clear;
+close;
+// Given data
+Im= 1;// in mA
+Im=Im*10^-3;// in amp
+Rm= 100;// in ohm
+V=1.2;// in volt
+R1= V/Im;// in ohm
+disp(R1*10^-3,"Resistance in kohm")
+Vout= Im*(Rm+R1);// in volt
+disp(Vout,"Output voltage in volt")
diff --git a/1859/CH4/EX4.6/exa_4_6.sce b/1859/CH4/EX4.6/exa_4_6.sce new file mode 100755 index 000000000..ad8db5492 --- /dev/null +++ b/1859/CH4/EX4.6/exa_4_6.sce @@ -0,0 +1,17 @@ +// Exa 4.6
+clc;
+clear;
+close;
+// Given data
+Vrms=120;// in mV
+Iav= 1.25;// in mA
+I_max= 1/0.318*Iav;// in mA
+Vmax= sqrt(2)*Vrms;// in mV
+R2= Vmax/I_max;// in ohm
+disp(R2,"Value of R2 in ohm")
+// when input voltage is 60 volt
+Vrms=60;// in mV
+Vmax= sqrt(2)*Vrms;// in mV
+I_max= Vmax/R2;// in mA
+Iav= I_max*0.318;// in mA
+disp(Iav,"Average value of meter current in mA")
diff --git a/1859/CH4/EX5.2/exa_5_2.sce b/1859/CH4/EX5.2/exa_5_2.sce new file mode 100755 index 000000000..bf7be609c --- /dev/null +++ b/1859/CH4/EX5.2/exa_5_2.sce @@ -0,0 +1,12 @@ +// Exa 5.2
+clc;
+clear;
+close;
+// Given data
+V_REF= -5;// in volt
+V_A= -5;// in volt
+V_C=V_A;// in volt
+V_D=V_C;// in volt
+V_B= 0;
+Vout= -1*(V_A+V_B/2+V_C/4+V_D/8);
+disp(Vout,"Output voltage in volt");
|