Sunday, April 21, 2024
HomeMatlabChaotic Swinging Sticks » Cleve’s Nook: Cleve Moler on Arithmetic and Computing

# Chaotic Swinging Sticks » Cleve’s Nook: Cleve Moler on Arithmetic and Computing

The Swinging Sticks is a kinetic sculpture that reveals chaotic movement. The gadget grew to become highly regarded after it upstaged Tony Stark in Iron Man 2. My daughter Carolyn gave me a desktop model of Swinging Sticks for Christmas. I instantly got down to simulate it.

### Contents

#### Chaotic Movement

Chaotic movement seems random however is not. As soon as the movement begins, the preliminary circumstances along with Newton’s regulation of movement, F = ma, decide subsequent conduct. There are not any random forces. It might be tough to foretell positions, however they’re well-determined, nonetheless.

#### Swinging Sticks

The swinging sticks are just like the double pendulum. The sticks are two rods with uniformly distributed mass, completely different lengths and off-center pivots. One of the best ways to view the movement is to obtain this code and run it in your personal MATLAB. In any other case, right here in a brief slow-motion animated GIF.

And, here’s a longer Swinging Sticks Video.

The movement of the shorter of the 2 rods is chaotic. Listed here are the orbits traced by the ends of the quick rod.

#### Sculpture

Our mathematical mannequin is of a frictionless perpetual movement machine. The actual sculptures have an ingenious electromagnetic controller within the base that’s claimed to run for 2 years on 4 AA batteries. Mine has been working since Christmas. A wonderful YouTube video by Wayne Schmidt describes the controller.

#### Code

Printed with MATLAB® R2024a

RELATED ARTICLES