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 /1322/CH15/EX15.12/117ex2.sce | |
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 '1322/CH15/EX15.12/117ex2.sce')
-rwxr-xr-x | 1322/CH15/EX15.12/117ex2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1322/CH15/EX15.12/117ex2.sce b/1322/CH15/EX15.12/117ex2.sce new file mode 100755 index 000000000..3d951719e --- /dev/null +++ b/1322/CH15/EX15.12/117ex2.sce @@ -0,0 +1,16 @@ + +clear;
+clc;
+close;
+n=poly(0,'n');
+p1=1/(n-2);
+p2=1/(n-3);
+p=p1+p2;
+q=2/n;
+//given p=q
+ z1=numer(p)*denom(q);
+ z2=numer(q)*denom(p);
+//As,z1=z2. cancel the terms common on both sides
+ a=z1-z2;
+ n=roots(a)
+
|