summaryrefslogtreecommitdiff
path: root/1892/CH2/EX2.4/Example2_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1892/CH2/EX2.4/Example2_4.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1892/CH2/EX2.4/Example2_4.sce')
-rwxr-xr-x1892/CH2/EX2.4/Example2_4.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1892/CH2/EX2.4/Example2_4.sce b/1892/CH2/EX2.4/Example2_4.sce
new file mode 100755
index 000000000..201023afa
--- /dev/null
+++ b/1892/CH2/EX2.4/Example2_4.sce
@@ -0,0 +1,21 @@
+// Example 2.4
+
+clear; clc; close;
+format('v',7);
+
+// Given data
+f=50;//in Hz
+Z1m=3+%i*2.7;//in ohm
+Z1a=7+%i*3;//in ohm
+alfa=90;//in degree
+
+//Calculations
+//Z1a=7+%i*3-%i*Xc;//in ohm(Xc assumed to be connected in auxiliary winding)
+fi_a=90-atand(imag(Z1m),real(Z1m))
+R1a=real(Z1a);//in ohm
+X1a=imag(Z1a);//in ohm
+X=tand(fi_a)*R1a;//in ohm
+Xc=X+X1a;//in ohm
+C=1/2/%pi/f/Xc;//in Farad
+disp(C*10^6,"Value of capacitance in micro farad : ");
+//Note : In the book, Torque is calculated even not asked in question and not given the sufficient data to calculate it.