diff options
Diffstat (limited to '2702/CH5/EX5.20/Ex_5_20.sce')
-rw-r--r-- | 2702/CH5/EX5.20/Ex_5_20.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2702/CH5/EX5.20/Ex_5_20.sce b/2702/CH5/EX5.20/Ex_5_20.sce new file mode 100644 index 000000000..51e4208af --- /dev/null +++ b/2702/CH5/EX5.20/Ex_5_20.sce @@ -0,0 +1,22 @@ +// Exa 5.20
+clc;
+clear;
+close;
+// Given data
+A= 100;
+Vs=1;// in volt
+Bita=1;// as in the voltage follower, the output voltage is same as input
+Af= A/(1+Bita*A);
+CLG= 1+A*Bita;// closed loop gain
+disp(CLG,"Closed loop gain is : ")
+CLG_dB= 20*log10(CLG);
+disp(CLG_dB,"Closed loop gain in dB is : ")
+Vo= Af*Vs;// in V
+disp(Vo,"Value of Vo in volt is : ")
+Vi= Vs-Vo;// in V
+disp(round(Vi*10^3),"Value of Vi in mV is : ")
+// If A decrease 10%,i.e.
+A=90;
+Af_desh= A/(1+Bita*A);
+Per_gain_reduction= (Af_desh-Af)/Af*100;// in %
+disp(Per_gain_reduction,"Percentage of gain reduction in %")
|