The total distance travelled by vehicle in 't' seconds is
given by
distance = ut+1/2at2 where 'u' and 'a' are the initial
velocity (m/sec.) and acceleration (m/sec2). Write C program to find the
distance travelled at regular intervals of time given the values of 'u' and
'a'. The program should provide the flexibility to the user to select his own
time intervals and repeat the calculations for different values of 'u' and 'a'.
Description:
The total distance travelled by vehicle in 't' seconds is
given by
distance = ut+1/2at2 where 'u' and 'a' are the
initial velocity (m/sec.)
and acceleration (m/sec2).
No comments:
Post a Comment