From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3507/CH9/EX9.11/Ex9_11.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 3507/CH9/EX9.11/Ex9_11.sce (limited to '3507/CH9/EX9.11/Ex9_11.sce') 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) -- cgit