summaryrefslogtreecommitdiff
path: root/1892/CH1/EX1.9/Example1_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1892/CH1/EX1.9/Example1_9.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/CH1/EX1.9/Example1_9.sce')
-rwxr-xr-x1892/CH1/EX1.9/Example1_9.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1892/CH1/EX1.9/Example1_9.sce b/1892/CH1/EX1.9/Example1_9.sce
new file mode 100755
index 000000000..a5d197d8a
--- /dev/null
+++ b/1892/CH1/EX1.9/Example1_9.sce
@@ -0,0 +1,22 @@
+// Example 1.9
+
+clear; clc; close;
+
+format('v',7);
+// Given data
+R2=0.04;//in ohm
+X2=0.2;//in ohm
+
+//Calculations
+R2dash=X2;//in ohm (for Tm=Tst)
+//formula : R2dash=R2+rex
+Rex=R2dash-R2;//in ohm/phase
+disp(Rex,"(i) External resistance required in ohm/phase : ");
+disp("For Tst=Tm/2, Tm=k*E2^2/2/X2 and Tst=k*E2^2*R2/(R2^2+X2^2)");
+disp("This gives a polynomial for value of R2dash.");
+P=[1 -4*X2 X2^2];//R2dash^2-4*X2*R2dash+X2^2=0
+R2dash=roots(P);//in ohm
+disp(R2dash,"Value of R2dash(ohm) are ")
+disp(R2dash(2),"But R2dash cant be greater than X2, R2dash(ohm) is : ");
+Rex=R2dash(2)-R2;//in ohm/phase
+disp(Rex,"(ii) External resistance required in ohm/phase : ");