diff options
Diffstat (limited to '68/CH1/EX1.5/ex5.sce')
-rwxr-xr-x | 68/CH1/EX1.5/ex5.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/68/CH1/EX1.5/ex5.sce b/68/CH1/EX1.5/ex5.sce new file mode 100755 index 000000000..81db740be --- /dev/null +++ b/68/CH1/EX1.5/ex5.sce @@ -0,0 +1,17 @@ +// Example 1.5 : DC gain, 3dB frequency and frequency at which gain=0 of voltage amplifier
+
+// 1.5b
+R_s =20*10^3; // (ohm)
+R_i =100*10^3; // (ohm)
+C_i =60*10^-12; // (ohm)
+u = 144; // (V/V)
+R_o = 200; // (ohm)
+R_L = 1000; // (ohm)
+K=u/((1+R_s/R_i)*(1+R_o/R_L));
+disp(K,"The dc gain (V/V)= ")
+disp(20*log10(K)," The dc gain (dB) =")
+w_o=1/(C_i*R_s*R_i/(R_s+R_i));
+disp(w_o,"The 3-dB frequency (rad/s) =")
+f_o= w_o/2/%pi;
+disp(f_o,"Frequency (Hz) =")
+disp(100*w_o,"unity gain frequency (rad/s)=",100*f_o,"Unity gain frequency (Hz)")
\ No newline at end of file |