diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3802/CH3/EX3.22/Ex3_22.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3802/CH3/EX3.22/Ex3_22.sce')
-rw-r--r-- | 3802/CH3/EX3.22/Ex3_22.sce | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/3802/CH3/EX3.22/Ex3_22.sce b/3802/CH3/EX3.22/Ex3_22.sce new file mode 100644 index 000000000..f7d41c445 --- /dev/null +++ b/3802/CH3/EX3.22/Ex3_22.sce @@ -0,0 +1,37 @@ +//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex3_22.sce.
+
+clc;
+clear;
+V=230; //Supply voltage in volt
+PL1=10E3; //supply power to loaad 1 in watt
+pf1=0.7;// lagging power factor value of load 1
+P2=10E3; //supply power to load 2 in watt
+pf2=0.5; //lagging power factor value of load 2
+
+printf("\n (a)")
+PL2=P2*pf2;
+QL1=PL1*tand(acosd(pf1));
+QL2=PL2*tand(acosd(pf2));
+PL=PL1+PL2;
+QL=QL1+QL2;
+QC=-QL;
+IC=QC/V;
+XC=QC/IC^2;
+f=50;
+C=1/(2*%pi*f*-XC);
+printf("\n The value of capacitance=%4.1f micro-farad \n",C*1e6)
+
+printf("\n (b)\t(i)")
+kVA=sqrt(PL^2+QL^2);
+Ig=kVA/V;
+printf("\n Magnitude alternator current without capacitor=%3.1f A \n",Ig)
+printf("\n\t(ii)")
+kVA=PL;
+Ig=kVA/V;
+printf("\n Magnitude alternator current with capacitor=%2.1f A \n",Ig)
+//Answer vary dueto roundoff error
|