SlideShare a Scribd company logo
THE MOORE-SPIEGEL
OSCILLATOR


ABHRANIL DAS
The System
Fixed Points and Stability
Numerical Root-finding
%    Newton-Raphson method to find roots
disp 'Newton-Raphson Method'
syms x;
i=0;
f=input('f: ');                                    %   User inputs function here
y=input('seed x: ');                               %   and seed value here
while (abs(subs(f,x,y)/subs(diff(f),x,y))>1e-15)   %   termination criterion
         y=y-subs(f,x,y)/subs(diff(f),x,y);
         i=i+1;
end
x=y                                                %   print result
i                                                  %   and iterations

%    Bisection method to find roots
disp 'Bisection Method'
a=input('a: ');                                    %   start
b=input('b: ');                                    %   and end of starting interval
j=0;                                               %   iteration count
syms x;
while (b-a>0.000001)                               %   termination criterion
     mid=(a+b)/2;
     if subs(f,x,b)*subs(f,x,mid)<0
          a=mid;
     else
          b=mid;
     end
j=j+1;
end
x=mid
j
Roots for T=6 and R=20




     Root     Seed (Newton-     Interval
                Raphson)      (Bisection)
        3           5              [0,5]
     0.4495         0              [0,1]
    -4.4495         -5            [-5,0]
Phase-Space Plots with RK4/5 (General Code)
   t=10; N=10000; h=float(t)/N; l=range(3)
   T=6; R=20
   x=list(input('Starting x,y,z: '))
   file=open('msplot.txt', 'w')
   def f(x):
       return [x[1], x[2], -x[2]-(T-R+R*x[0]**2)*x[1]-T*x[0]]
   for iter in range(N):
       print>> file, x[0],x[1],x[2]
       k1=[h*f(x)[i] for i in l]
       k2=[h*f([(x[j]+k1[j]/2) for j in l])[i] for i in l]
       k3=[h*f([(x[j]+k2[j]/2) for j in l])[i] for i in l]
       k4=[h*f([(x[j]+k3[j]) for j in l])[i] for i in l]
       x=[x[i]+(k1[i]+2*k2[i]+2*k3[i]+k4[i]) for i in l]
   file.close()
   import Gnuplot
   g=Gnuplot.Gnuplot()
   g('''splot 'msplot.txt' w l''')
   g('pause -1')

   global T;
   global R;
   T=0;
   R=20;
   [tarray,Y] = ode45(@mseq,[0 1000],[-1 1 0]);


   function dy = mseq(t,y)
       global T;
       global R;
       dy = zeros(3,1);
       dy(1) = y(2);
       dy(2) = y(3);
       dy(3) = -y(3)-(T-R+R*y(1)^2)*y(2)-T*y(1);
   end
Phase-Space Plots: Periodic
Phase-Space Plots: Chaos
Projection: x-y plane
Projection: x-z plane
Projection: y-z plane
Lyapunov Exponent
Two particles were released from close points in the flow, (-1, 1, 0)
and (-1, 1.0001, 0). Characteristic time is ~0.7s:
Lyapunov Exponent
Lyapunov Exponent
Poincaré Sections of projections
            P=[];
            for i=1:length(Y)-1
                if (Y(i,2))<0 && (Y(i+1,2))>0
                    P(end+1)=Y(i,1);
                end
            end
            P=P';
            plot(P,'.');
Poincaré Sections: Zoomed in
Bifurcation Diagrams


 global T;
 global R;
 T=0;
 R=20;
 B=[];
 while T<20
      [tarray,Y] = ode45(@mseq,[0 1000],[-1 1 0]);
      P=[];
      for i=1:length(Y)-1
          if (Y(i,2))<0 && (Y(i+1,2))>0
              P(end+1)=Y(i,1);
          end
      end
      P=P';
      P=P(end-10:end);
      for i=1:length(P)
          B(end+1,:)=[T P(i)];
      end
      T=T+.1
 end
Bifurcation Diagrams

                       R=20
Bifurcation Diagrams


   T=6
Reference
Algebraically Simple Chaotic Flows, J.C. Sprott, S J. Linz,
Intl. J. of Chaos Theory and Applications
A Thermally Excited Non-linear Oscillator, D.W. Moore, E.A.
Spiegel, Astrophysical Journal

More Related Content

Viewers also liked

Skema Bm Kertas1 Set2
Skema Bm Kertas1 Set2Skema Bm Kertas1 Set2
Skema Bm Kertas1 Set2
Kay Aniza
 
TTD - Theme Scavenger Hunt: 9 Jobs
TTD - Theme Scavenger Hunt: 9 JobsTTD - Theme Scavenger Hunt: 9 Jobs
TTD - Theme Scavenger Hunt: 9 JobsJeanette Murphy
 
In Situ Media Case Study
In Situ Media Case StudyIn Situ Media Case Study
In Situ Media Case Study
Guy Steele-Perkins
 
Check in dance
Check in danceCheck in dance
Check in dance
Daniel Teng
 
XMediaLab - Dan Armstrong
XMediaLab - Dan ArmstrongXMediaLab - Dan Armstrong
XMediaLab - Dan Armstrong
Dan Armstrong
 
TTF - Five Important Things About Me
TTF -  Five Important Things About MeTTF -  Five Important Things About Me
TTF - Five Important Things About MeJeanette Murphy
 
C Sharp Lecture Johan Franzen
C Sharp Lecture  Johan FranzenC Sharp Lecture  Johan Franzen
C Sharp Lecture Johan Franzeng_hemanth17
 
TTC - Six Word Digital Memoirs:Food
TTC - Six Word Digital Memoirs:FoodTTC - Six Word Digital Memoirs:Food
TTC - Six Word Digital Memoirs:FoodJeanette Murphy
 
Buzzmedia Octagon Keynote
Buzzmedia Octagon KeynoteBuzzmedia Octagon Keynote
Buzzmedia Octagon KeynoteChris George
 
Kbh On-Train Media Case Study
Kbh On-Train Media Case StudyKbh On-Train Media Case Study
Kbh On-Train Media Case Study
Guy Steele-Perkins
 
side_face samples
side_face samplesside_face samples
side_face samples
xinhai enews
 
Landing local customers webinar final
Landing local customers webinar finalLanding local customers webinar final
Landing local customers webinar final
Margaret Stangl
 
Journalism needs to be there for the thirsty
Journalism needs to be there for the thirstyJournalism needs to be there for the thirsty
Journalism needs to be there for the thirstyBart Brouwers
 
Drachten09022011
Drachten09022011Drachten09022011
Drachten09022011
Bart Brouwers
 
Management Final Project Fall 2008
Management Final Project Fall 2008Management Final Project Fall 2008
Management Final Project Fall 2008
lat886
 

Viewers also liked (20)

Texas Instruments
Texas InstrumentsTexas Instruments
Texas Instruments
 
Skema Bm Kertas1 Set2
Skema Bm Kertas1 Set2Skema Bm Kertas1 Set2
Skema Bm Kertas1 Set2
 
TTA: I Spy - Name
TTA: I Spy - NameTTA: I Spy - Name
TTA: I Spy - Name
 
TTD - Theme Scavenger Hunt: 9 Jobs
TTD - Theme Scavenger Hunt: 9 JobsTTD - Theme Scavenger Hunt: 9 Jobs
TTD - Theme Scavenger Hunt: 9 Jobs
 
In Situ Media Case Study
In Situ Media Case StudyIn Situ Media Case Study
In Situ Media Case Study
 
Check in dance
Check in danceCheck in dance
Check in dance
 
XMediaLab - Dan Armstrong
XMediaLab - Dan ArmstrongXMediaLab - Dan Armstrong
XMediaLab - Dan Armstrong
 
TTF - Five Important Things About Me
TTF -  Five Important Things About MeTTF -  Five Important Things About Me
TTF - Five Important Things About Me
 
C Sharp Lecture Johan Franzen
C Sharp Lecture  Johan FranzenC Sharp Lecture  Johan Franzen
C Sharp Lecture Johan Franzen
 
TTC - Six Word Digital Memoirs:Food
TTC - Six Word Digital Memoirs:FoodTTC - Six Word Digital Memoirs:Food
TTC - Six Word Digital Memoirs:Food
 
Friends
FriendsFriends
Friends
 
Buzzmedia Octagon Keynote
Buzzmedia Octagon KeynoteBuzzmedia Octagon Keynote
Buzzmedia Octagon Keynote
 
TTF I Spy Nouns
TTF I Spy NounsTTF I Spy Nouns
TTF I Spy Nouns
 
Kbh On-Train Media Case Study
Kbh On-Train Media Case StudyKbh On-Train Media Case Study
Kbh On-Train Media Case Study
 
side_face samples
side_face samplesside_face samples
side_face samples
 
Drupaljam20062011
Drupaljam20062011Drupaljam20062011
Drupaljam20062011
 
Landing local customers webinar final
Landing local customers webinar finalLanding local customers webinar final
Landing local customers webinar final
 
Journalism needs to be there for the thirsty
Journalism needs to be there for the thirstyJournalism needs to be there for the thirsty
Journalism needs to be there for the thirsty
 
Drachten09022011
Drachten09022011Drachten09022011
Drachten09022011
 
Management Final Project Fall 2008
Management Final Project Fall 2008Management Final Project Fall 2008
Management Final Project Fall 2008
 

Similar to The Moore-Spiegel Oscillator

matlab codes.pdf
matlab codes.pdfmatlab codes.pdf
matlab codes.pdf
EdysaulCondorhuancar
 
Fourier series example
Fourier series exampleFourier series example
Fourier series exampleAbi finni
 
summary.pdf
summary.pdfsummary.pdf
summary.pdf
SubbuSiva1
 
Use the same variable names and write the function F - Force(x-ks-kc-l.pdf
Use the same variable names and write the function F - Force(x-ks-kc-l.pdfUse the same variable names and write the function F - Force(x-ks-kc-l.pdf
Use the same variable names and write the function F - Force(x-ks-kc-l.pdf
acteleshoppe
 
Matlab assignment
Matlab assignmentMatlab assignment
Matlab assignment
Rutvik
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1Assignmentpedia
 
Dsp manual
Dsp manualDsp manual
Dsp manual
pramod naik
 
L25-L26-Parameter passing techniques.pptx
L25-L26-Parameter passing techniques.pptxL25-L26-Parameter passing techniques.pptx
L25-L26-Parameter passing techniques.pptx
happycocoman
 
Frsa
FrsaFrsa
Frsa
_111
 
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC exams
A Jorge Garcia
 
A/B Testing for Game Design
A/B Testing for Game DesignA/B Testing for Game Design
A/B Testing for Game Design
Trieu Nguyen
 
Presentation on calculus
Presentation on calculusPresentation on calculus
Presentation on calculus
Shariful Haque Robin
 
Advanced Search Techniques
Advanced Search TechniquesAdvanced Search Techniques
Advanced Search Techniques
Shakil Ahmed
 
Assignment on Numerical Method C Code
Assignment on Numerical Method C CodeAssignment on Numerical Method C Code
Assignment on Numerical Method C Code
Syed Ahmed Zaki
 
Please use the same variables and only write the TODO part #!-usr-bi.pdf
Please use the same variables and only write the TODO part   #!-usr-bi.pdfPlease use the same variables and only write the TODO part   #!-usr-bi.pdf
Please use the same variables and only write the TODO part #!-usr-bi.pdf
asenterprisestyagi
 
FINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docx
FINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docxFINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docx
FINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docx
voversbyobersby
 
Ma2002 1.19 rm
Ma2002 1.19 rmMa2002 1.19 rm
Ma2002 1.19 rm
Ramakrishna Paduchuri
 
Cs580
Cs580Cs580
Open GL T0074 56 sm4
Open GL T0074 56 sm4Open GL T0074 56 sm4
Open GL T0074 56 sm4Roziq Bahtiar
 

Similar to The Moore-Spiegel Oscillator (20)

matlab codes.pdf
matlab codes.pdfmatlab codes.pdf
matlab codes.pdf
 
Fourier series example
Fourier series exampleFourier series example
Fourier series example
 
summary.pdf
summary.pdfsummary.pdf
summary.pdf
 
Use the same variable names and write the function F - Force(x-ks-kc-l.pdf
Use the same variable names and write the function F - Force(x-ks-kc-l.pdfUse the same variable names and write the function F - Force(x-ks-kc-l.pdf
Use the same variable names and write the function F - Force(x-ks-kc-l.pdf
 
Matlab assignment
Matlab assignmentMatlab assignment
Matlab assignment
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1
 
Dsp manual
Dsp manualDsp manual
Dsp manual
 
L25-L26-Parameter passing techniques.pptx
L25-L26-Parameter passing techniques.pptxL25-L26-Parameter passing techniques.pptx
L25-L26-Parameter passing techniques.pptx
 
Frsa
FrsaFrsa
Frsa
 
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC exams
 
A/B Testing for Game Design
A/B Testing for Game DesignA/B Testing for Game Design
A/B Testing for Game Design
 
Presentation on calculus
Presentation on calculusPresentation on calculus
Presentation on calculus
 
Advanced Search Techniques
Advanced Search TechniquesAdvanced Search Techniques
Advanced Search Techniques
 
Array
ArrayArray
Array
 
Assignment on Numerical Method C Code
Assignment on Numerical Method C CodeAssignment on Numerical Method C Code
Assignment on Numerical Method C Code
 
Please use the same variables and only write the TODO part #!-usr-bi.pdf
Please use the same variables and only write the TODO part   #!-usr-bi.pdfPlease use the same variables and only write the TODO part   #!-usr-bi.pdf
Please use the same variables and only write the TODO part #!-usr-bi.pdf
 
FINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docx
FINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docxFINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docx
FINAL PROJECT, MATH 251, FALL 2015[The project is Due Mond.docx
 
Ma2002 1.19 rm
Ma2002 1.19 rmMa2002 1.19 rm
Ma2002 1.19 rm
 
Cs580
Cs580Cs580
Cs580
 
Open GL T0074 56 sm4
Open GL T0074 56 sm4Open GL T0074 56 sm4
Open GL T0074 56 sm4
 

More from Abhranil Das

Depth estimation from stereo image pairs using block-matching
Depth estimation from stereo image pairs using block-matchingDepth estimation from stereo image pairs using block-matching
Depth estimation from stereo image pairs using block-matching
Abhranil Das
 
Derivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport EquationDerivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport Equation
Abhranil Das
 
Are Randomly Grown Graphs Really Random?
Are Randomly Grown Graphs Really Random?Are Randomly Grown Graphs Really Random?
Are Randomly Grown Graphs Really Random?
Abhranil Das
 
Active Matter and the Vicsek Model of Flocking
Active Matter and the Vicsek Model of FlockingActive Matter and the Vicsek Model of Flocking
Active Matter and the Vicsek Model of Flocking
Abhranil Das
 
Stochastic Neural Network Model: Part 2
Stochastic Neural Network Model: Part 2Stochastic Neural Network Model: Part 2
Stochastic Neural Network Model: Part 2
Abhranil Das
 
Diffusion-Limited Aggregation
Diffusion-Limited AggregationDiffusion-Limited Aggregation
Diffusion-Limited Aggregation
Abhranil Das
 
Simulating Evolution and Behaviour
Simulating Evolution and BehaviourSimulating Evolution and Behaviour
Simulating Evolution and Behaviour
Abhranil Das
 
Edward Lorenz: The Butterfly Man
Edward Lorenz: The Butterfly ManEdward Lorenz: The Butterfly Man
Edward Lorenz: The Butterfly ManAbhranil Das
 
Stochastic Neural Network Model: Part 1
Stochastic Neural Network Model: Part 1Stochastic Neural Network Model: Part 1
Stochastic Neural Network Model: Part 1
Abhranil Das
 
The Lorenz Weather Model
The Lorenz Weather ModelThe Lorenz Weather Model
The Lorenz Weather ModelAbhranil Das
 
Perspective: the maths of seeing
Perspective: the maths of seeingPerspective: the maths of seeing
Perspective: the maths of seeing
Abhranil Das
 
Transposons: the jumping genes
Transposons: the jumping genesTransposons: the jumping genes
Transposons: the jumping genes
Abhranil Das
 
The DNA Double Helix
The DNA Double HelixThe DNA Double Helix
The DNA Double Helix
Abhranil Das
 
Cellular Automata
Cellular AutomataCellular Automata
Cellular Automata
Abhranil Das
 

More from Abhranil Das (16)

Depth estimation from stereo image pairs using block-matching
Depth estimation from stereo image pairs using block-matchingDepth estimation from stereo image pairs using block-matching
Depth estimation from stereo image pairs using block-matching
 
Derivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport EquationDerivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport Equation
 
Are Randomly Grown Graphs Really Random?
Are Randomly Grown Graphs Really Random?Are Randomly Grown Graphs Really Random?
Are Randomly Grown Graphs Really Random?
 
Active Matter and the Vicsek Model of Flocking
Active Matter and the Vicsek Model of FlockingActive Matter and the Vicsek Model of Flocking
Active Matter and the Vicsek Model of Flocking
 
Stochastic Neural Network Model: Part 2
Stochastic Neural Network Model: Part 2Stochastic Neural Network Model: Part 2
Stochastic Neural Network Model: Part 2
 
Diffusion-Limited Aggregation
Diffusion-Limited AggregationDiffusion-Limited Aggregation
Diffusion-Limited Aggregation
 
Simulating Evolution and Behaviour
Simulating Evolution and BehaviourSimulating Evolution and Behaviour
Simulating Evolution and Behaviour
 
Edward Lorenz: The Butterfly Man
Edward Lorenz: The Butterfly ManEdward Lorenz: The Butterfly Man
Edward Lorenz: The Butterfly Man
 
Stochastic Neural Network Model: Part 1
Stochastic Neural Network Model: Part 1Stochastic Neural Network Model: Part 1
Stochastic Neural Network Model: Part 1
 
The Lorenz Weather Model
The Lorenz Weather ModelThe Lorenz Weather Model
The Lorenz Weather Model
 
Perspective: the maths of seeing
Perspective: the maths of seeingPerspective: the maths of seeing
Perspective: the maths of seeing
 
Transposons: the jumping genes
Transposons: the jumping genesTransposons: the jumping genes
Transposons: the jumping genes
 
The DNA Double Helix
The DNA Double HelixThe DNA Double Helix
The DNA Double Helix
 
Cellular automata
Cellular automataCellular automata
Cellular automata
 
Hyperactivation
HyperactivationHyperactivation
Hyperactivation
 
Cellular Automata
Cellular AutomataCellular Automata
Cellular Automata
 

Recently uploaded

Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 

Recently uploaded (20)

Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 

The Moore-Spiegel Oscillator

  • 3. Fixed Points and Stability
  • 4. Numerical Root-finding % Newton-Raphson method to find roots disp 'Newton-Raphson Method' syms x; i=0; f=input('f: '); % User inputs function here y=input('seed x: '); % and seed value here while (abs(subs(f,x,y)/subs(diff(f),x,y))>1e-15) % termination criterion y=y-subs(f,x,y)/subs(diff(f),x,y); i=i+1; end x=y % print result i % and iterations % Bisection method to find roots disp 'Bisection Method' a=input('a: '); % start b=input('b: '); % and end of starting interval j=0; % iteration count syms x; while (b-a>0.000001) % termination criterion mid=(a+b)/2; if subs(f,x,b)*subs(f,x,mid)<0 a=mid; else b=mid; end j=j+1; end x=mid j
  • 5. Roots for T=6 and R=20 Root Seed (Newton- Interval Raphson) (Bisection) 3 5 [0,5] 0.4495 0 [0,1] -4.4495 -5 [-5,0]
  • 6. Phase-Space Plots with RK4/5 (General Code) t=10; N=10000; h=float(t)/N; l=range(3) T=6; R=20 x=list(input('Starting x,y,z: ')) file=open('msplot.txt', 'w') def f(x): return [x[1], x[2], -x[2]-(T-R+R*x[0]**2)*x[1]-T*x[0]] for iter in range(N): print>> file, x[0],x[1],x[2] k1=[h*f(x)[i] for i in l] k2=[h*f([(x[j]+k1[j]/2) for j in l])[i] for i in l] k3=[h*f([(x[j]+k2[j]/2) for j in l])[i] for i in l] k4=[h*f([(x[j]+k3[j]) for j in l])[i] for i in l] x=[x[i]+(k1[i]+2*k2[i]+2*k3[i]+k4[i]) for i in l] file.close() import Gnuplot g=Gnuplot.Gnuplot() g('''splot 'msplot.txt' w l''') g('pause -1') global T; global R; T=0; R=20; [tarray,Y] = ode45(@mseq,[0 1000],[-1 1 0]); function dy = mseq(t,y) global T; global R; dy = zeros(3,1); dy(1) = y(2); dy(2) = y(3); dy(3) = -y(3)-(T-R+R*y(1)^2)*y(2)-T*y(1); end
  • 12. Lyapunov Exponent Two particles were released from close points in the flow, (-1, 1, 0) and (-1, 1.0001, 0). Characteristic time is ~0.7s:
  • 15. Poincaré Sections of projections P=[]; for i=1:length(Y)-1 if (Y(i,2))<0 && (Y(i+1,2))>0 P(end+1)=Y(i,1); end end P=P'; plot(P,'.');
  • 17. Bifurcation Diagrams global T; global R; T=0; R=20; B=[]; while T<20 [tarray,Y] = ode45(@mseq,[0 1000],[-1 1 0]); P=[]; for i=1:length(Y)-1 if (Y(i,2))<0 && (Y(i+1,2))>0 P(end+1)=Y(i,1); end end P=P'; P=P(end-10:end); for i=1:length(P) B(end+1,:)=[T P(i)]; end T=T+.1 end
  • 20. Reference Algebraically Simple Chaotic Flows, J.C. Sprott, S J. Linz, Intl. J. of Chaos Theory and Applications A Thermally Excited Non-linear Oscillator, D.W. Moore, E.A. Spiegel, Astrophysical Journal