An open API service indexing awesome lists of open source software.

https://github.com/fmaclen/rule-of-three

A tiny direct proportion calculator for macOS
https://github.com/fmaclen/rule-of-three

Last synced: 6 months ago
JSON representation

A tiny direct proportion calculator for macOS

Awesome Lists containing this project

README

          

# rule-of-three
**A tiny direct proportion calculator for macOS that runs in the tray bar.**

Screen Shot 2021-12-15 at 9 27 43 AM Screen Shot 2021-12-15 at 9 27 49 AM

The rule of three is used to calculate the corresponding values proportionally.

It is also known as **Direct Proportion**, which means that any increase in the known values increases the unknown value at the same rate.
This _Direct Proportion_ or _Rule of three_ calculation uses the formula: `(y * b) / a = x`

### Example
Considering `2kg (a)` of flour is worth `$5 (b)`
What's the cost of `5kgs (y)` of flour at the same rate? `Answer = (x)`

`(5kg * $5) / 2kg = $12.5`

### History
Learn more about the **Rule of Three** (Cross-multiplication) on [Wikipedia](https://en.wikipedia.org/wiki/Cross-multiplication#Rule_of_Three)

### About this project
Just an excuse app to get familiarized with [Electron](https://www.electronjs.org/)