diff options
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 |