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 /2330/CH16/EX16.4/ex16_4.sce | |
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 '2330/CH16/EX16.4/ex16_4.sce')
-rwxr-xr-x | 2330/CH16/EX16.4/ex16_4.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/2330/CH16/EX16.4/ex16_4.sce b/2330/CH16/EX16.4/ex16_4.sce new file mode 100755 index 000000000..91e11a05a --- /dev/null +++ b/2330/CH16/EX16.4/ex16_4.sce @@ -0,0 +1,30 @@ +// Example 16.4
+format('v',6)
+clc;
+clear;
+close;
+// given data
+A=100;
+R_B= 39*10^3;// in Ω
+r_in= 2*10^6;// in Ω
+r_out= 75;// in Ω
+Vin_off= 2*10^-3;// in V
+I_B1= 90*10^-9;// in A
+I_in_off= 20*10^-9;// in A
+// The closed loop voltage gain
+B=1;// unit less
+// The closed-loop input impedance
+r_in_CL= (1+A*B)*r_in;// in Ω
+r_in_CL= r_in_CL*10^-6;// in Mohm
+disp(B,"The closed loop voltage gain is : ")
+disp(r_in_CL,"The closed-loop input impedance in MΩ is : ")
+A=100000;
+// The closed-loop output impedance
+r_out_CL= r_out/A;// in Ω
+disp(r_out_CL,"The closed-loop output impedance in Ω is : ")
+//Let V= V1-V2 = Vin_off+I_B1*R_B
+V= Vin_off+I_B1*R_B;// in A
+// The output offset voltage
+Voo_CL= A*V/A;// in V
+Voo_CL= Voo_CL*10^3;// in mV
+disp(Voo_CL,"The output offset voltage in mV is : ")
|