diff options
Diffstat (limited to '728/CH8/EX8.2/Ex8_2.sce')
-rwxr-xr-x | 728/CH8/EX8.2/Ex8_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/728/CH8/EX8.2/Ex8_2.sce b/728/CH8/EX8.2/Ex8_2.sce new file mode 100755 index 000000000..39e1bdc93 --- /dev/null +++ b/728/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,16 @@ +//Caption:Calculate (i)-input rms voltage,(ii)-output rms voltage, (iii)-power delivered to load
+//Exa:8.2
+clc;
+clear;
+close;
+A_v=15;//in dB
+P_i=5*10^-3;//in W
+R_sh_i=30000;//in ohms
+R_sh_o=40000;//in ohms
+R_l=20000;//in ohms
+V_i=sqrt(P_i*R_sh_i);
+V_o=10^((A_v/20))*12.25;
+P_out=V_o^2/R_l;
+disp(V_i,'Input rms voltage (in volts) =');
+disp(V_o,'Output rms voltage (in volts) =');
+disp(P_out,'Power delivered to load (in watts) =');
\ No newline at end of file |