Repository URL to install this package:
|
Version:
0.4.3 ▾
|
| lib |
| test |
| CHANGELOG.md |
| LICENSE.md |
| README.md |

Joules is a library (gem) for providing simple Physics formulas in kinematics, forces, waves, electricity, and so much more. A selection of fundamental constants are also provided. It is written entirely in Ruby.
Note: For library download, please visit https://www.rubygems.org/gems/joules.
gem build joules.gemspec
gem install joules-0.4.3.gem
require 'joules'
Joules.gravitational_potential_energy(0.5, 6)
This would return 29.43.
Joules.power(Joules.work_done(40, 2.34), 4)
This would return 23.4.
Note: For documentation on usage of methods and constants, please visit http://www.rubydoc.info/gems/joules/.
Please feel free to submit any ideas, questions, or problems by reporting an issue.