A web-browser-based calculator for physicists

AI Thread Summary
A developer is creating a web-based calculator for physicists that operates offline and requires no installation, available on GitHub for collaboration and feedback. The calculator performs numerical calculations, unit manipulations, and includes physical constants, with a recent feature for curve plotting. The developer aims to provide a simpler alternative to existing tools like Google Calculator and WolframAlpha, emphasizing the need for offline functionality and ease of use without programming knowledge. Comparisons to MATLAB highlight its limitations in handling units and accessibility, while the developer acknowledges the competitive landscape but focuses on offering a lightweight, open-source solution tailored for quick calculations. The discussion also touches on the importance of defining the target audience, whether students or professionals, and the potential benefits of incorporating domain-specific language features for user-friendly unit handling.
fffred
Messages
2
Reaction score
0
Hi,

I am currently developing a calculator for physicists which can be very simply opened in a web browser, without the need to install anything, or even be online. The repository is currently on Github here and can be freely accessed (click the download zip button at the bottom right corner).

Anyone interested in joining the development is welcome. Also, if you find bugs or have good ideas for improvements, that's also welcome.

The calculator can obviously do calculations with numbers, but also includes units manipulation, and physical constants. I recently added the capability to plot curves, so that's convenient for quick visualization of functions.

I know that google can already do all this calculation and graphing, but I was kind of tired of typing the full name for constants, such as "electron charge". Also you cannot add custom things to google calculator, and you have to be online.

So here you go, please tell me what you think.
 
Computer science news on Phys.org
Do you know WolframAlpha?
I think you should compare your project to that, and not to the (very limited) calculator features of the google search.
 
Also MATLAB has an app for interfacing with a MATLAB server to do the things that it does well. Many computational physicists and engineers use MATLAB for project work.

MATLAB doesn't handle units of measure so that may be a plus in your favor.

You could also check out domain specific languages such as the groovy addon that supports units of measure:

def y = 99.inches + 32.feet

println y.feet

or something like that:

http://groovy.dzone.com/news/domain-specific-language-unit-

Remember its a long uphill battle to build a better mousetrap ask any mouse...

You'll have to decide on your target audience, high school/college students or physicists/engineers who've used tools like MATLAB and Mathematica and have them installed on their work machines.
 
Last edited:
There are definitely things out there that can do that stuff already.

About WolframAlpha, there are no possible comparisons in terms of capabilities. I do not aim at competing with this at all. The goal is a calculator that is available offline, thus would go faster for simple calculations (and is open source).

Also, I use MATLAB all the time, but it is a very heavy (and pricy) program that I don't launch for simple stuff. And it does not do units.

Concerning groovy, or similar, that's a programming language and the idea is to keep things simple without the need for the user of programming anything.
 
fffred said:
Concerning groovy, or similar, that's a programming language and the idea is to keep things simple without the need for the user of programming anything.

With respect to groovy, the example I posted was a domain specific language for endusers not programmers. The idea was that sometimes typing in your equation with units of measure is better. I thought you might be interested in how it handled units of measure.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top