Project

joules

0.0
No commit activity in last 3 years
No release in over 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Joules Logo

Ruby Badge

Gem Version Build Status Inline Docs

About

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.

Library Compilation

gem build joules.gemspec

Library Installation

gem install joules-0.4.4.gem

Library Import

require 'joules'

Usage

Simple Method Call

Joules.gravitational_potential_energy(0.5, 6)

This would return 29.43.

Method Composition

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/.

Contributing

In order to make Joules better, everyone is encouraged to help improve this project. Before diving into the code, please familiarize yourself with the Guide to Contributing.

License