Questions tagged [chaos]

Anything related to chaotic systems or chaos theory. Chaotic systems are systems that are extremely sensitive to initial conditions (e.g. round-off error in data stored digitally) thus leading to the impossibility of predicting their long-term evolution. The tag is mostly relevant to cases where algorithms show chaotic behavior.

Anything related to chaotic systems or chaos theory. Chaotic systems are systems that are extremely sensitive to initial conditions (e.g. round-off error in data stored digitally) thus leading to the impossibility of predicting their long-term evolution. The tag is mostly relevant to cases where algorithms show chaotic behavior.

See Wikipedia page on chaos theory.

102 questions
0
votes
3 answers

Why does this C++ function produce chaotic output?

I have the following code: int main ( int argc, char **argv ){ double lambda = 4; double x = .2; for ( int i=1; i<=30; i++ ) { printf( "%.5f \n", x ); x = lambda * x * (1-x); } } That outputs the following: 0.20000 0.64000…
nicktendo
  • 587
  • 1
  • 9
  • 24
0
votes
1 answer

Integrating chaotic systems

I have 3 equations as follows u'= -a*(u-v) v'= c*u-v-u*w w'= -b*w+u*v a=5.0 b=0.9 and c=8.2 Im trying to use scipy.integrate.odeint solve from t=0 to t=10 My initial conditions are u(0)=0, v(0)=1.0 and w(0)=2.0 I can't many useful notes on…
darren
  • 47
  • 1
  • 9
0
votes
1 answer

Initial weights causing stagnation in XOR function learning-neural network

I have a neural network with 2 entry variables, 1 hidden layer with 2 neurons and the output layer with one output neuron. When I start with some randomly (from 0 to 1) generated weights, the network learns the XOR function very fast and good, but…
0
votes
1 answer

Normalizing data and applying colormap results in rotated image using matplotlib?

So I wanted to see if I could make fractal flames using matplotlib and figured a good test would be the sierpinski triangle. I modified a working version I had that simply performed the chaos game by normalizing the x range from -2, 2 to 0, 400 and…
Stumbleine75
  • 391
  • 2
  • 7
  • 22
0
votes
1 answer

Bifurcation diagram

I want to draw a Bifurcation diagram of quadratic map in python. Basically its a plot of x_{n+1}=x_n^2-c and it should look like http://static.sewanee.edu/Physics/PHYSICS123/image99.gif But I am newbie so I am not sure do I make it right. My code…
wiedzminYo
  • 531
  • 4
  • 11
  • 24
0
votes
0 answers

Controlling accuracy while iterating chaotic maps in Matlab

I'd like to be able to control the decimal accuracy exactly while iterating a chaotic map. In particular, I'd like to make sure that Matlab uses no more / no less than the value p I specify in the following function: function out =…
caseyalan
  • 3
  • 3
0
votes
1 answer

MATLAB: advance ode45 just one time step

I'm using ode45() in matlab for some work in dynamics, using this procedure to calculate the largest Lyaponov exponent of the Lorenz system. The process involves solving a system of differential equations starting from x0, and comparing this with a…
trolle3000
  • 1,067
  • 2
  • 14
  • 27
-1
votes
2 answers

Kube-monkey interval (Chaos Testing)

I'm implementing Kube-monkey in my dev Kubernetes cluster, and can see that the PODs are getting terminated every 30 seconds. Could someone please help me to set POD termination interval in Kube-monkey(Chaos Monkey for Kubernetes clusters) to some…
Tina
  • 1
  • 2
-1
votes
1 answer

i am getting an error as " failed: AttributeError: 'ServicePrincipalCredentials' object has no attribute 'get_token"

While Running Chaos Toolkit Azure related Playbooks , i am getting an error as " failed: AttributeError: 'ServicePrincipalCredentials' object has no attribute 'get_token" though i have passed in the correct Secret ID , Tenant ID , Client ID ,…
Ayan
  • 1
  • 1
-1
votes
1 answer

In "the code", Marcus du Sautoy, tries to explain Chaos Theory

So at a certain point, he starts with this silly equation He starts talking about lemmings and how the rate of growth fluctuates and can lead to very unpredictable chaos Pnext = R * P - R * P * P simplified to Pnext = R * P(1-P) Wich is the…
user2888973
  • 583
  • 3
  • 15
-1
votes
2 answers

How can I transfer the data that my program generates to a new turtle program to use?

Seen below is the code for my iteration program. I want to be able to use turtle graphics to take each parameter (k) and have the equations output plotted against its corresponding k value. This should create a feigenbaum diagram if im not mistaken?…
imglueck
  • 1
  • 2
-2
votes
1 answer

MATLAB graph wont show when i enter plot after ending function

I get this: "This statement is not inside any function. (It follows the END that terminates the definition of the function "plot_2_components".)" I've tried entering plot before "end" but no plots showed up. Assuming the the variables have…
Jet
  • 1
  • 1
1 2 3 4 5 6
7