G
Guest
I have a project I'm working on that requires me to calculate the speed of a
vehicle. Currently I have a table that stores records with a vehicle
identifier, their beginning and ending time and odometer reading. At the end
of the vehicle's movement, I've calculated the distance and elapsed time but
I now need to create rate or speed...I assume the average...at which the
vehicle traveled throughout the event. I think I need to breakdown the
hours, minutes and seconds but formulating that into a sensible function is
where my problem is. Any suggestions?
vehicle. Currently I have a table that stores records with a vehicle
identifier, their beginning and ending time and odometer reading. At the end
of the vehicle's movement, I've calculated the distance and elapsed time but
I now need to create rate or speed...I assume the average...at which the
vehicle traveled throughout the event. I think I need to breakdown the
hours, minutes and seconds but formulating that into a sensible function is
where my problem is. Any suggestions?