Speed can be define as