summaryrefslogtreecommitdiff
path: root/27/CH10/EX10.7.3/Example_10_7_3.sce
blob: b7449ed3e46229b3a5e2a7664f68e908ffb5f893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//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)+3*x-2;                    //Defining Polynomial--> x(dot)=x^2 -1. Let this be f(x)
disp("Fixed Points are :")
y = roots(f)

// As seen earlier period 2 cycle occours at r=3.

//Hence,

r2=y(1)+3


//End of Example.