I'm trying to program each of the pictured equations (I did not make the chart):
so a user may enter 3 of 5 variables and always return the missing 2 variables. I'm having some divide by 0 issues in instances when the acceleration is 0 and in other spots. The equation for finding time in the second row, second equation seems particularly strange. Also should I be receiving 2 answers from some of these.. ie square root problems?
First, are these equations accurate? And if they are accurate, what stipulations should I add to my program in order to prevent divide by 0 issues and possibly other problems.
If it helps you to know, I'm using JavaScript, but I'm more concerned about the nature of the math and how it relates to kinematics than about the language itself.
Thank you very much.