Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 493 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 493 Bytes

ak84multimeter

High-performance and lightweight JavaScript library. Ohms law calculator: voltage, current, resistance, power and voltage divider.

Getting started

// volts(amperes, ohms)
volts(2, 5) == 10

// amperes(volts, ohms)
amperes(5, 2) == 2.5

// ohms(volts, amperes)
ohms(12, 2) == 6

// watts(volts, amperes)
watts(12, 10) == 120

// voltageDivider(volts, r1, r2)
voltageDivider(10, 500, 500) == 5

Author

Kalinin Alexandr

Email: [email protected]