50
A TASTE OF CHAOS By Adam T., Andy S., and Shannon R.

A TASTE OF CHAOS

  • Upload
    kaveri

  • View
    35

  • Download
    0

Embed Size (px)

DESCRIPTION

A TASTE OF CHAOS. By Adam T., Andy S., and Shannon R. “You've never heard of Chaos theory? Non-linear equations?” -Dr. Ian Malcolm, fictional chaotician. A TASTE OF CHAOS. Aperiodic (not a repeated pattern of motion) Unpredictable due to sensitive dependence on initial conditions - PowerPoint PPT Presentation

Citation preview

Page 1: A TASTE OF CHAOS

A TASTE OF CHAOS

By Adam T., Andy S., and Shannon R.

Page 2: A TASTE OF CHAOS

“You've never heard of Chaos theory? Non-linear equations?”

-Dr. Ian Malcolm, fictional chaotician

Page 3: A TASTE OF CHAOS

A TASTE OF CHAOS

• Aperiodic (not a repeated pattern of motion)

• Unpredictable due to sensitive dependence on initial conditions

• Not random… completely deterministic• Governed by non-linear equations of

motion (not just terms like x or x’, but also xn, (x’)n … although not all non-linear eq.’s are chaotic)

• Examples: weather (“butterfly effect”), circuits, fluid dynamics, etc.

Page 4: A TASTE OF CHAOS

Experiment

Chaotic motion

Page 5: A TASTE OF CHAOS

Materials Of Chaos!• Driven harmonic oscillator accessory• Mechanical Oscillator• Photo gate• Rotary motion sensor• Springs• Magnet• DC Power supply• Point mass (of unknown origins)

Page 6: A TASTE OF CHAOS

The Apparatus

• Mechanical oscillator drive

• Springs• Magnet

• Point Mass

• Sinusoidal driving force on spring 1

• Linear Restoring force• Sinusoidal varying

damping force• Sinusoidal varying

force of gravity

Page 7: A TASTE OF CHAOS

Initial conditions and settings

• Potential wells can create harmonic oscillations depending on initial conditions and settings

• Example changing driving amplitude created enough tension in spring one giving the point mass enough energy

for……Chaos!

Page 8: A TASTE OF CHAOS

A Well with potential

Page 9: A TASTE OF CHAOS

Potential Wells

Page 10: A TASTE OF CHAOS

The Chaotic Oscillator:Equations of Motion

(Newton’s Law – angular version of F=ma)

...121 frictionmagneticgravityspringspringI

I

...

))(()( 21

frictionmagneticgravity

relaxedeqrelaxedeq xtDrxkyrykIr

Page 11: A TASTE OF CHAOS

The Chaotic Oscillator:Equations of Motion

So far, contributions from spring force terms appear linear, but…

...

)(21221

2

frictionmagneticgravity

relaxedeqrelaxedeq tDkyykxxkIrkk

Ir

?21 CC

Page 12: A TASTE OF CHAOS

Driving function

…Yeah.

The Chaotic Oscillator:Equations of Motion

...

)(21221

2

frictionmagneticgravity

relaxedeqrelaxedeq tDkyykxxkIrkk

Ir

)()cos(2)( 22ddd rdrtdrdtD

Page 13: A TASTE OF CHAOS

Time-dependent driving function D(t)

Gravity? Magnetic force?! ? … ?!!“dipole-induced dipole interaction”?

Friction, etc.?!?! ??!!?

The Chaotic Oscillator:Equations of Motion

)sin( eqIrmgFr

),(

3

1~R

5

1~R

5

1~R

…velocity-dependent damping?!

Page 14: A TASTE OF CHAOS

or

(experiment?)

The Chaotic Oscillator:Equations of Motion

5

1~R

n

mmeqrelaxedeqrelaxedeq R

ykIrmgyykxxk

Irkk

Ir

)()cos()sin(1221

2

)cos(222meqmm rrrrR

))cos(

(cos2

1

Rrr

y meqm

nRfCCCC)())(cos()sin( 40321

)(21 CC

Page 15: A TASTE OF CHAOS

Torque vs. angle

Page 16: A TASTE OF CHAOS

• Analytical techniques of little use in non-linear situations

• We rely on numerical methods of solving the eqn’s of motion

• Due to extreme sensitivity, small computational errors can have drastic effects…

• Thus, advances in technology have been historically necessary for sophisticated studies of chaos

Solving non-linear equations

Page 17: A TASTE OF CHAOS

“Inevitably, underlying instabilities

begin to appear…”

“God help us, we’re in the

hands of engineers”

-Dr. Ian Malcolm, fictional chaotician

Page 18: A TASTE OF CHAOS

What do you get when you cross

a shark with a telescope?

Question:

Page 19: A TASTE OF CHAOS

Answer:

=X ||

Page 20: A TASTE OF CHAOS

The Runge-Kutta Method

The Solution to All Our Problems

(Or at least the first-order differential equation ones)

Page 21: A TASTE OF CHAOS

Numerical Solutions to ODEs

• Most differential equations have no analytical solution.

• We must approximate them numerically.– Euler

– Improved Euler– Runge-Kutta

• Trade-off: Computational ease vs. Accuracy

Page 22: A TASTE OF CHAOS

Classical Runge-Kutta

• Approximate solution of first-order ODEs.• Know initial conditions.• Choose step size.

• Recurrence relation:

Page 23: A TASTE OF CHAOS

Classical Runge-Kutta

Page 24: A TASTE OF CHAOS

2nd Order ODEs

• Classical Runge-Kutta is excellent… unless you’re us.

• Our equation of motion

is second order.• Thus, we need a slightly more tricky

method of approximation.

Page 25: A TASTE OF CHAOS

Somethin’ Trickier

• We can write a 2nd-order ODE as two coupled 1st-order ODEs.

• Then we have Runge-Kutta recurrence relations

Ladies and Gentlemen, I give you…

Page 26: A TASTE OF CHAOS

Somethin’ Trickier

• Notice that K1 and I1 are determined by initial conditions.

• Notice, also, that all other Ki and Ii are dependent on the preceding Kis and Iis.

Page 27: A TASTE OF CHAOS

Our Equation of Motion

• We can apply this technique to our equation of motion.

• Set

• Thus,

• And we have two coupled 1st-order equations.• Excellent…

Page 28: A TASTE OF CHAOS

Our Equation of Motion

• But wait! That mysterious magnetic/gravitational/frictional acceleration term is not known….

•But we can find the angular acceleration due to these forces at a given time or a given position…

Page 29: A TASTE OF CHAOS

Our Equation of Motion

• After we know these points, we can interpolate with a spline.

• But first, we must collect the data.

Page 30: A TASTE OF CHAOS

Data for Spline

• Creating a representation of force for gravity, magnetism, and lets say umm friction.

• Removal of springs and driving force• Rotating point mass and disk combination• Plot acceleration vs. position (hopeful

representation)

Page 31: A TASTE OF CHAOS
Page 32: A TASTE OF CHAOS

The Spline Interpolation

This is a clever subtitle.

Page 33: A TASTE OF CHAOS

Spline Interpolation

• The problem:– We have a set of discrete points.– We need a continuous function.

• The solution:– Spline interpolation!

Page 34: A TASTE OF CHAOS

Types of Splines

• Linear spline– Simply connect the dots

• Quadratic spline– Takes into account four points

• Cubic spline– Si(xi)=Si+1(xi)– Twice continuous differentiable

Page 35: A TASTE OF CHAOS

Types of Splines

• Linear spline– Simply connect the dots

• Quadratic spline– Takes into account four points

• Cubic spline– Si(xi)=Si+1(xi)– Twice continuous differentiable

Page 36: A TASTE OF CHAOS

Quadratic Spline

• The interpolation gives a different function between every two points.

• The coefficients of the spline are given by the recurrence relation

Page 37: A TASTE OF CHAOS

Our Spline (Take 1)

• Find {ti,θi} and {tj,ωj}.

• Use a spline interpolation to form functions t(θ) and α(t).

• Obtain α(θ) by way of α(t(θ)).

Page 38: A TASTE OF CHAOS

Our Spline (Take 1)

• Spline of {θi,ti} to get t(θ).– Uses the equation on the last slide.

• α(t) found by differentiating the spline of {tk,ωk}. (dω(t)/dt = α(t).)

• Same recurrence relation for zis as before.

Page 39: A TASTE OF CHAOS

Our Spline (Take 1)

• This method of determining α(θ) was abandoned.

– We realized that DataStudio will record {θi,αi}.

Page 40: A TASTE OF CHAOS

Our Spline (Take 2)

• A quadratic spline was calculated a data set {θi,αi}.

• Here’s a sample portion of the spline.

Page 41: A TASTE OF CHAOS

Return to Runge-Kutta

Endgame

We are now able to approximate the solution θ(t).

Page 42: A TASTE OF CHAOS

The ResultsInitial conditions:

Start from right eq. position.

ωi = 0

Page 43: A TASTE OF CHAOS

The ResultsInitial conditions:

Start from left eq. position.

ωi = 0

Page 44: A TASTE OF CHAOS

Motion of Chaos

Page 45: A TASTE OF CHAOS

Motion of the GrimaceG

rimac

e

Page 46: A TASTE OF CHAOS

“That is one big pile of $@!*”

-Dr. Ian Malcolm,Fictional chaotician

Page 47: A TASTE OF CHAOS

“That is one big pile of $@!*”

-Dr. Ian Malcolm,Fictional chaotician

Page 48: A TASTE OF CHAOS

Poincare Plot

• Periodic data points instead of a constant stream

• Less cluttered evaluation of data• Puts harmonic motion in the spotlight

Page 49: A TASTE OF CHAOS

Poincare plot

Page 50: A TASTE OF CHAOS

Thanks everyone…

Keep it chaotic