diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3507/CH9/EX9.11/Ex9_11.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3507/CH9/EX9.11/Ex9_11.sce')
-rw-r--r-- | 3507/CH9/EX9.11/Ex9_11.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3507/CH9/EX9.11/Ex9_11.sce b/3507/CH9/EX9.11/Ex9_11.sce new file mode 100644 index 000000000..d6283d547 --- /dev/null +++ b/3507/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)
|