Due Friday, 10/15/10 In part you will be rewriting your previous homework to use functions with the addition of acceleration input. Acceleration should be a real-value of the highest precision. You should have three functions similar to the examples in class. One for input, one for computation and one for output. Now, measure distanced moved forward (or backward) as a more complicated equation involving acceleration. The equation is: distance_moved is velocity times time plus one half times acceleration times time squared. Thus if velocity is 5.1, time is 3, acceleration is 2.0, then distance_moved is: (5.1 * 3) + (0.5 * 2.0 * 3 * 3) = 24.3 As in homework 2, time is an integer and velocity should be a double. For this project, write an input function for velocity, time and acceleration. Write a computation function to compute the distance moved. Finally, write an output function to output the distance moved. Your main could look like this: int main() { double velocity, acceleration, distance; int time; input(time, velocity, acceleration); distance = compute_distance(time, velocity, acceleration); output(distance, time, velocity, acceleration); }