Sofware to check equation units

  • Thread starter Thread starter Enthalpy
  • Start date Start date
  • Tags Tags
    Units
AI Thread Summary
A proposed software project aims to create an application that verifies the consistency of units in equations, ensuring that inputs like pressure and force are correctly matched to their respective units. The software should feature a user-friendly interface that allows for easy input through menus, minimizing the need for users to type equations manually. It will support basic mathematical operations and recognize constants such as the permeability of free space and Planck's constant, helping to reduce user errors. The application is intended to focus on SI units while also accommodating less common units, particularly in optics and radioactivity. Future enhancements could include support for other unit systems like CGS and natural units. The software is designed to provide clear diagnostic feedback, highlighting discrepancies in units rather than converting them into other measures. This project is seen as a valuable tool for users who may struggle with unit conversions in scientific calculations.
Enthalpy
Messages
667
Reaction score
4
Hello everybody!

Once again, someone searched elsewhere in September a project topic for her software class, and I suggested one in November , so this topic as well must be available to other people...

A piece of software could check that the units of an equation fit together, like: a pressure equals a force per surface unit, not per volume unit.

Such an application needs a decent user interface, preferably where the inputted equation can be read permanently. But the input can be made by menus if they're fast and convenient; you don't have to interpret an equation typed as a text by the user.

You need to process +-*/^ which includes sqrt(). Users shall know by themselves what to do with sin() and others.

I want the application to know constants like µ or h or flux quantum to limit user errors, and I'd prefer to click on "Newton" instead of "force". The application can be limited to SI units, but it must know less frequent units like Jansky or Eötvös, and of course optics and radioactivity units. A user will typically launch the application in areas he's less easy with. This is where the application improves over hand-checking.

Possible refinements, not urgent:
- Other unit systems, especially CGS
- Unit systems that take c=1, h/2pi=1, µ=eps=1...

Nice small project, and it would be really useful to many people from time to time.
Marc Schaefer, aka Enthalpy
 
Technology news on Phys.org
I wrote "Newton" preferred to "Force", I see these advantage:
If the user means a force but uses kg instead of N, the software will detect it.
The software might also check if MPa are used together with mm2, not m2.

As a diagnostic, I prefer a synthetic answer like "discrepancy by one pressure", not its equivalent in kg, m and s.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...

Similar threads

Replies
16
Views
6K
Replies
20
Views
6K
Replies
5
Views
2K
Replies
5
Views
2K
Replies
55
Views
10K
Replies
1
Views
2K
Replies
38
Views
8K
4
Replies
175
Views
25K
Back
Top