-
Tested with Jest
-
Bundled for node, jsnext, and umd
import { gravitationalForce } from 'newtonian'
const force = gravitationalForce( { G: 1
, m_i: 100
, m_j: 100
, q_i: { x: 10, y: 75, z: 0 }
, q_j: { x: 60, y: 5, z: 0 }
}
)
// typeof force === 'number'
Note: newtonian is in active development and is accepting PRs for any Newton related science or documentation.