New app scicalc

pull/1770/head
marko 2022-04-28 19:40:33 -04:00
parent 3032376af7
commit 2675dd6c2d
5 changed files with 34 additions and 0 deletions

1
apps/scicalc/ChangeLog Normal file
View File

@ -0,0 +1 @@
0.01: New App!

18
apps/scicalc/README.md Normal file
View File

@ -0,0 +1,18 @@
# 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 left or right switches between them. Swiping down 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)

1
apps/scicalc/app-icon.js Normal file
View File

@ -0,0 +1 @@
require("heatshrink").decompress(atob("mEwxH+AH4A/AH4AJioAaF1wwSFzowRCQUZo4AWjIvVFy4ABF/4vXyGQAYov/R+sZFy8ZF6oAcF/4vvi4AeF/4SCjseAAMdAx8MAAYvVEAQABAx4v/R/TvvF96PUg8cAAMHd9QuCAAIv/R+rvvF96Pvd94vvR97vvF96Pvd94vvR97vsGDwuQGDouSAH4A/AGwA=="))

View File

@ -0,0 +1,14 @@
{ "id": "scicalc",
"name": "Scientific Calculator",
"shortName":"SciCalc",
"version":"0.01",
"description": "Scientific calculator",
"icon": "scicalc.png",
"readme": "README.md",
"tags": "app,tool",
"supports" : ["BANGLEJS2"],
"storage": [
{"name":"scicalc.app.js","url":"app.js"},
{"name":"scicalc.img","url":"app-icon.js","evaluate":true},
]
}

BIN
apps/scicalc/scicalc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B