Momentum Conservation

05 Окт. 2012
Posted by trekto

momentum conservation simulation
Creative Commons License

Arithmetic precision:* 512 bits
Number of objects: 5
Number of cycles: 1 250 000
Seconds per cycle: 0.005
Mass of big, middle, small objects: 1e-8 kg., 5e-9 kg., 5e-10 kg.
Radius of big, middle, small objects: 60 m., 30 m., 5m.
Initial speed of big colored object: 0.5 m/s
Initial speed of big dark object: 1 m/s
Coefficient of restitution: 1 (perfectly elastic)
Interacting law: Momentum, Newton's law of gravity

*GMP is used for floating point numbers. Precision is compromised by math.h functions atan2, sin and cos. If you have C++ implementation of CORDIC or other fast algorithm, you can share it here.

Video on momentum conservation on youtube

More simulations

Публикувай нов коментар

  • Адресите на уеб-страници и e-mail адресите автоматично се конвертират в хипервръзки.
  • Разрешени HTML tag-ове: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong><font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike> <caption>
  • Линиите и параграфите се прекъсват автоматично.
  • Mark language-dependent sections with == lc == where lc (or lc-xx) is a language code, other or all.

Повече информация за опциите на форматиране

CAPTCHA
Image CAPTCHA