diff options
Diffstat (limited to '2459/CH4/EX4.4/Ex4_4.sce')
-rw-r--r-- | 2459/CH4/EX4.4/Ex4_4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2459/CH4/EX4.4/Ex4_4.sce b/2459/CH4/EX4.4/Ex4_4.sce new file mode 100644 index 000000000..d9adac616 --- /dev/null +++ b/2459/CH4/EX4.4/Ex4_4.sce @@ -0,0 +1,18 @@ +//chapter4
+//example4.4
+//page74
+
+Vs=300 // V
+rp=500 // ohm
+Rl=2000 // ohm
+Vm=Vs*2^0.5 // in V
+Im=Vm/(rp+Rl) // A
+Idc=2*Im/%pi // A
+Pdc=Idc^2*Rl // W
+Irms=Im/2^0.5 //A
+Pac=Irms^2*(rp+Rl) // W
+efficiency=(Pdc/Pac)*100
+
+printf("dc power output = %.3f W \n",Pdc)
+printf("ac power input = %.3f W \n",Pac)
+printf("efficiency = %.2f percentage",efficiency)
|