diff options
Diffstat (limited to '2459/CH9/EX9.11/Ex9_11.sce')
-rw-r--r-- | 2459/CH9/EX9.11/Ex9_11.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2459/CH9/EX9.11/Ex9_11.sce b/2459/CH9/EX9.11/Ex9_11.sce new file mode 100644 index 000000000..d6283d547 --- /dev/null +++ b/2459/CH9/EX9.11/Ex9_11.sce @@ -0,0 +1,23 @@ +//chapter9
+//example9.11
+//page152
+
+rf=20 // ohm
+Rl=800 // ohm
+Vm=50 // V
+
+Im=Vm/(rf+Rl) // in ampere
+Idc=Im/%pi // in ampere
+Irms=Im/2 // in ampere
+Pac=Irms^2*(rf+Rl)
+Pdc=Idc^2*Rl
+Vout=Idc*Rl
+efficiency=100*Pdc/Pac
+
+printf("Im = %.1f mA \n",Im*1000)
+printf("Idc = %.1f mA \n",Idc*1000)
+printf("Irms = %.1f mA \n \n",Irms*1000)
+printf("ac power input = %.3f W \n",Pac)
+printf("dc power output = %.3f W \n \n",Pdc)
+printf("dc output voltage = %.3f V \n \n",Vout)
+printf("efficiency = %.3f percent \n",efficiency)
|