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 /199/CH3/EX3.4 | |
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 '199/CH3/EX3.4')
-rwxr-xr-x | 199/CH3/EX3.4/Example_3_4.sce | 20 | ||||
-rwxr-xr-x | 199/CH3/EX3.4/result_ex_3_4.txt | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/199/CH3/EX3.4/Example_3_4.sce b/199/CH3/EX3.4/Example_3_4.sce new file mode 100755 index 000000000..811e8193f --- /dev/null +++ b/199/CH3/EX3.4/Example_3_4.sce @@ -0,0 +1,20 @@ +// Chapter3
+// Page.No-86, Figure.No-3.8
+// Example_3_4
+// Output voltage of voltage-shunt feedback amplifier
+// Given
+clear;clc;
+R1=470;Rf=4.7*10^3;
+A=200000; // Open-loop voltage gain
+vin=1; // Input voltage in volts
+K=Rf/(R1+Rf); // Voltage attenuation factor
+B=R1/(R1+Rf); // Gain of the feedback circuit
+Af=-(A*K)/(1+A*B); // Closed-loop voltage gain
+vo=Af*vin; // Output voltage
+printf("\n Output voltage is vo = %.f V \n",vo) // Result
+t=0:0.1:2*%pi;
+vo=-10*sin(t);
+plot(t,vo);
+title('Output Voltage');
+xlabel('t');
+ylabel('Vo');
diff --git a/199/CH3/EX3.4/result_ex_3_4.txt b/199/CH3/EX3.4/result_ex_3_4.txt new file mode 100755 index 000000000..f6f9f4be7 --- /dev/null +++ b/199/CH3/EX3.4/result_ex_3_4.txt @@ -0,0 +1 @@ +* Output voltage is vo = -10 V
\ No newline at end of file |