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 /2498/CH2/EX2.14 | |
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 '2498/CH2/EX2.14')
-rwxr-xr-x | 2498/CH2/EX2.14/ex2_14.sce | 24 |
1 files changed, 24 insertions, 0 deletions
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");
|