suvat
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

SUVAT

A small TypeScript/JavaScript library for solving the SUVAT equations.

Installation

Install via npm:

npm install suvat

Example usage

import * as suvat from "suvat";

// enter 3 known variables to find the other 2
const completed = suvat.complete({
	s: 1,
	u: 2,
	v: 3,
});

// use a specific formula
// - solve for s, where u as the 2nd unknown.
const s = suvat.formulas.s.u;

Package Sidebar

Install

npm i suvat

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.86 kB

Total Files

5

Last publish

Collaborators

  • cymaera