summaryrefslogtreecommitdiff
path: root/1067/CH20/EX20.20.b
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1067/CH20/EX20.20.b
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 '1067/CH20/EX20.20.b')
-rwxr-xr-x1067/CH20/EX20.20.b/20_20_b.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1067/CH20/EX20.20.b/20_20_b.sce b/1067/CH20/EX20.20.b/20_20_b.sce
new file mode 100755
index 000000000..5aeb2f57c
--- /dev/null
+++ b/1067/CH20/EX20.20.b/20_20_b.sce
@@ -0,0 +1,12 @@
+clear;
+clc;
+g=20;
+v=11e3;
+r=20e6;
+n=4;
+x=.4;
+x1=g/(n-1);
+z=((x1/x)-(x1))/1.33;
+R=(z/100)*(v^2)/r;
+R=round(R*1000)/1000;
+printf("the value of reactance=%fohms",R);