Scheduled Maintenance: The ComPADRE Network may be temporarily unavailable on Monday, October 12, 2026, from midnight to 6:00 a.m. Eastern Time (Sunday night into Monday morning). We apologize for any inconvenience.

APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Lorenz Lyapunov chaos app

Return to the OSP Programming forum
Login to post to this thread

Any other approach
Alfonso R. Reyes
12 Posts

I have developed an OSP application to find the Lyapunov exponents (LE) based on the trajectories of two Lorenz systems. It seems to be working. I am looking for some feedback about I perform the calculation of the LE. 

double separation = Math.sqrt(dx*dx + dy*dy + dz*dz);
lyapunovSum += Math.log(separation / initialSeparation);
 
Would you have done it in any other way?
 
The name of the application is `Lorenz3DLyapunovParamApp.java`

The running app link is https://alfonsorreyes.github.io/lorenz-lyapunov/

PS. There is a README in the repo that explains what this OSP app does.


OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book