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 /1523/CH12/EX12.4 | |
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 '1523/CH12/EX12.4')
-rwxr-xr-x | 1523/CH12/EX12.4/ex12_4.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1523/CH12/EX12.4/ex12_4.sce b/1523/CH12/EX12.4/ex12_4.sce new file mode 100755 index 000000000..2730922ec --- /dev/null +++ b/1523/CH12/EX12.4/ex12_4.sce @@ -0,0 +1,17 @@ +// Network Synthesis : example 12.4 : (pg 12.3)
+s=poly(0,'s');
+p1=((s^4)+(3*(s)^2)+12);
+p2=((s^3)+(2*s));
+[r,q]=pdiv(p1,p2);
+[r1,q1]=pdiv(p2,r);
+[r2,q2]=pdiv(r,r1);
+[r3,q3]=pdiv(r1,r2);
+printf("\nEven part of P(s) = ((s^4)+(3*(s)^2)+12)");
+printf("\nOdd part of P(s) = ((s^3)+(2*s))");
+printf("\nQ(s)= m(s)/n(s)");
+// values of quotients in continued fraction expansion
+disp(q);
+disp(q1);
+disp(q2);
+disp(q3);
+printf("\nSince two quotient terms are negative, P(s) is not hurwitz");
|