BangleApps/apps/scicalc
Erik Andresen d06f9bdc6e scicalc: Switch swipe handling
As discussed in #3054

- Use Swipe up/down to switch between screens, left to delete, right to
calculate result
- Also use Bangle.setUI()
2023-10-27 15:39:11 +02:00
..
ChangeLog scicalc: Switch swipe handling 2023-10-27 15:39:11 +02:00
README.md scicalc: Switch swipe handling 2023-10-27 15:39:11 +02:00
app-icon.js New app scicalc 2022-04-28 19:40:33 -04:00
app.js scicalc: Switch swipe handling 2023-10-27 15:39:11 +02:00
metadata.json scicalc: Switch swipe handling 2023-10-27 15:39:11 +02:00
scicalc.png New app scicalc 2022-04-28 19:40:33 -04:00
scicalc_screenshot1.png Add screenshots 2022-04-29 08:55:02 -04:00
scicalc_screenshot2.png Add screenshots 2022-04-29 08:55:02 -04:00
scicalc_screenshot3.png Add screenshots 2022-04-29 08:55:02 -04:00

README.md

SciCalc

Simple scientific calculator. I needed one, so I wrote a basic one, no design frills. Input expressions are slightly post processed and then evaluated by the JS interpreter.

Usage

Buttons are arranged on 3 separate screens, swiping up or down switches between them. Swiping right has the same effect as hitting the "=" button. Swiping left has the same effect as hitting the "<" button.

Features

The calculator supports the following operations:

  • basic arithmetic: +, -, *, /, ^ (raise to a power), +/- (invert sign), 1/x (inverse), use of parentheses
  • trigonometric fucntions: sin, cos, tan, asin, acos, atan
  • exponential exp, natural logarithm log, pow function (this one takes 2 comma separated arguments)
  • Pi is provided as a constant
  • a memory button "M" stores or recalls the last result (after hitting the "=" button or swiping down)