No commit activity in last 3 years
No release in over 3 years
Physics & Chemistry Constants for Unitwise
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 12.0
~> 4.2
~> 0.49
~> 3.2

Runtime

~> 2.2
 Project Readme

Unitwise Constants

Add fundamental physics/chemistry constants to Unitwise.

Installation

Through RubyGems:

$ gem install unitwise-constants

Usage

In your script:

require 'unitwise/constants'
=> true

Unitwise::GRAVITY
=> #<Unitwise::Measurement value=9.81 unit=m/s2>

Included Constants

Constant Name Description Value
GRAVITY Acceleration by Gravity on Earth 9.81 m/s2
LIGHTSPEED Speed of Light 3.00E8 m/s
GRAVITATION Univeral Gravitation Constant 6.67E-11 N.m2/kg2
AVOGADRO Avogadro's Number 6.02E23 1/mol
CHARGE Fundamental Unit of Charge 1.60E-19 C