A web-browser-based calculator for physicists

Click For Summary

Discussion Overview

The discussion revolves around the development of a web-browser-based calculator designed for physicists. The calculator aims to facilitate calculations, units manipulation, and visualization of functions without requiring installation or an internet connection. Participants explore its potential features, compare it to existing tools, and discuss its target audience.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes the calculator's capabilities, including calculations, units manipulation, physical constants, and curve plotting.
  • Another participant suggests comparing the calculator to WolframAlpha rather than Google, implying a need for a more robust comparison.
  • A different participant mentions MATLAB's capabilities and its limitations regarding units of measure, suggesting that the new calculator could fill that gap.
  • Some participants express that existing tools already perform similar functions, but the new calculator's offline availability and open-source nature are highlighted as advantages.
  • There is a discussion about the simplicity of the calculator's interface, contrasting it with programming languages like Groovy, which may not be user-friendly for all potential users.

Areas of Agreement / Disagreement

Participants generally agree that there are existing tools that perform similar functions, but they also recognize the unique features of the proposed calculator, particularly its offline capability and open-source nature. There is no consensus on the best comparison for the calculator, as some participants emphasize WolframAlpha while others focus on MATLAB.

Contextual Notes

Participants express varying opinions on the target audience for the calculator, with considerations for high school/college students versus professional physicists and engineers. The discussion also touches on the balance between simplicity and functionality in user interfaces.

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.
 

Similar threads

Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 6 ·
Replies
6
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K