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 /1067/CH20/EX20.20.b | |
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 '1067/CH20/EX20.20.b')
-rwxr-xr-x | 1067/CH20/EX20.20.b/20_20_b.sce | 12 |
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);
|