Binary Orbit Simulation

Arithmetic precision:* 1024 bits
Number of cycles: 30 000 000
Seconds per cycle: 0.0001
Mass of each object: 2e13 kg.
Radius of each object: 20 m.
Initial speed of each object: 1 m/s
Interacting law: 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.

See Binary star at Wikipedia.

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
1 + 19 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.