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:
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?
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