Comparison and Calculation of Speed