summaryrefslogtreecommitdiff
path: root/27/CH10/EX10.7.2/Example_10_7_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /27/CH10/EX10.7.2/Example_10_7_2.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 '27/CH10/EX10.7.2/Example_10_7_2.sce')
-rwxr-xr-x27/CH10/EX10.7.2/Example_10_7_2.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/27/CH10/EX10.7.2/Example_10_7_2.sce b/27/CH10/EX10.7.2/Example_10_7_2.sce
new file mode 100755
index 000000000..e9a7688ec
--- /dev/null
+++ b/27/CH10/EX10.7.2/Example_10_7_2.sce
@@ -0,0 +1,23 @@
+//Example 10.7.2 Page 386
+//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
+//Steven H. Strogatz
+clear;
+clear;
+clc;
+close;
+
+x=poly(0,"x");
+f = (x^2)+4*x-2; //Defining Polynomial--> x(dot)=x^2 -1. Let this be f(x)
+disp("Fixed Points are :")
+y = roots(f);
+
+// -2+sqrt(6)=0.4494897
+
+// As seen earlier period 2 cycle occours at r=3.
+
+//Hence,
+
+r2=y(1)+3
+
+
+//End of Example. \ No newline at end of file