mathematics gem introduced/relied on "Prior Knowledge" (See https://github.com/nvijayap/mathematics) In continuation of that style/paradigm of programming, this program relies on elements of "Prior Knowledge" in the domain of Physics, and avoids computation where unnecessary.
KBS: Knowledge Base Space Some Examples for KBS: . Local Cache . Remote Cache . Use of Marshall/Unmarshall . Cache <=> DataStore (Activation/Passivation) . Web Service . Internet Prior Knowledge of the pattern/computation process/history shall lend to the path/approach to take.
gem install pkp_physics
require 'pkp_physics'
After installing, look into test/test_pkp_physics.rb
Feel free to provide comments