Does anyone know a good scientific calculator to API too or if there is a plugin solution?
I am trying to perform some trigonometry functions like tan, cos, and sin to help with a design application. I haven’t been able to find a plugin to support this and I may be able to use Desmos with an API but I am not sure how to do that yet.
Any help or suggestions are appreciated, thanks
1 Like
or numPy if you’re more familiar with python. You can host oh PythonFlask and then connect via API.
Although this is a very good idea for a bubble plugin
Are you suggesting the plug-in Math.js (Local)?
I have not been able to get that plug in to provide a result. I tried the below as the expression in the plug-in and then tried to have a text element show the result as a number.
math.evaluate(‘tan^-1 (input A / input B)’
Right yes…add Desmos to the long line of APIs I should wrap in a plugin. I use Desmos quite a lot with my kids homework.
I tried your expression in the math.js API tester and it didn’t work:
I advise testing the equation in that math.js test box first (to make sure it’s formatted correctly) and then see confirm that you’re getting the results you need. Once you know, it’s working, then handle how you will display/work with results including an error message (since, as you see above, one can type in an improper math expression)
1 Like