Uncertainty calculator program in c++

Hi,

this is the first time I write in this forum.

I i'm a beginner in c++ but I was wondering if it is possible to write a program that calculates errors propagations in Physics formulas. I would like to have something like that:

http://www.colby.edu/chemistry/PChem/scripts/error.html?ModPagespeed=off

but I don't need an interface for that, I just want terminal to show the result. Is there anyone who knows how to do it ? And do you think that a beginner with basics knowledge could do it?

Thank you so much,

Carlo
closed account (48T7M4Gy)
Yes, it is possible to program an 'equation parser' in C++. There are many online references and numerous methods around on how to do it.

It might be a good (longer term) project for a beginner as you build up expertise and modify ideas as you progress, fairly challenging but by no means impossible.

This gives some idea in general terms the sort of considerations that come up.
http://stackoverflow.com/questions/4582398/writing-a-simple-equation-parser
Topic archived. No new replies allowed.