x is in metre and t in sec.