a simple program that can solve elementary physics problems