Commit Graph

4 Commits

Author SHA1 Message Date
avivfaraj
ff2a162bdd
Add files via upload 2021-09-04 12:41:26 -04:00
avivfaraj
4951686999
Changed print to f-string
Also printed out results in a math notation
2021-09-04 10:19:15 -04:00
avivfaraj
a56525855c
Add files via upload 2021-09-03 19:47:55 -04:00
algobytewise
536fb4bca4
Add algorithm for N-body simulation - retry (#4298)
* add n_body_simulation.py

* updating DIRECTORY.md

* Rename other/n_body_simulation.py to physics/n_body_simulation.py

* updating DIRECTORY.md

* Update build.yml

* refactor examples & add doctests

* removed type-hints from self-parameter

* Apply suggestions from code review

* Update physics/n_body_simulation.py

* Update physics/n_body_simulation.py

* Update physics/n_body_simulation.py

* Don't forget self

* Fix velocity

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2021-04-04 13:23:48 +02:00