|Authors:||Stuart Reges, Marty Stepp|
|Chapter:||Primitive Data And Definite Loops|
In physics, a common useful equation for finding the position s of a body in linear motion at a given time t, based on its initial position , initial velocity , and rate of acceleration a, is the following:
Write code to declare variables for , , a, and t, and then write the code to compute s on the basis of these values.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.