Bouncing Balls - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Bouncing Balls

Description:

Bouncing Balls. The Mission. Create two balls with some initial velocity that will ... Show qualitatively that this system is chaotic. The Code. Used bits from ... – PowerPoint PPT presentation

Number of Views:83
Avg rating:3.0/5.0
Slides: 6
Provided by: schuyle7
Category:

less

Transcript and Presenter's Notes

Title: Bouncing Balls


1
Bouncing Balls
2
The Mission
  • Create two balls with some initial velocity that
    will bounce around in a box and off each other.
    There are no external forces.
  • Show qualitatively that this system is chaotic.

3
The Code
  • Used bits from solar.py and bounce.py
  • New force for the Euler integrator
  • F F0exp(-(r/a)3)
  • F0exp(-pow(diff.mag/a0,3.0))norm(diff)

4
Program in Action
5
Qualitative Observation
  • To record information (In progress)
  • Ncollisions0
  • if force(a,b)gt1
  • Ncollisions1
  • while (t30.0)
  • print Ncollisions
  • while (t60.0)
  • print Ncollisions
  • while (t90.0)
  • print Ncollisions
Write a Comment
User Comments (0)
About PowerShow.com