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 --- 2498/CH2/EX2.14/ex2_14.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 2498/CH2/EX2.14/ex2_14.sce (limited to '2498/CH2/EX2.14') diff --git a/2498/CH2/EX2.14/ex2_14.sce b/2498/CH2/EX2.14/ex2_14.sce new file mode 100755 index 000000000..938396c5d --- /dev/null +++ b/2498/CH2/EX2.14/ex2_14.sce @@ -0,0 +1,24 @@ +// Exa 2.14 +clc; +clear; +close; +format('v',6) +// Given data +Vrms = 50;// in V +r_f = 20;// in ohm +R_L = 980;// in ohm +Vm = sqrt(2)*Vrms;// in V +Im = (Vm)/(R_L+r_f); +// The mean load current +Idc = (2*Im)/%pi;// in A +Idc = round(Idc * 10^3);// in mA +disp(Idc,"The mean load current in mA is"); +// The RMS load current +Irms = Im/sqrt(2);// in A +Irms = Irms*10^3;// in mA +disp(Irms,"The RMS load current in mA is"); +a = 0.812;// assumed +// The output efficiency +Eta = a/(1+(r_f/R_L)); +Eta = Eta * 100;// in % +disp(Eta,"The output efficiency in % is"); -- cgit