I have a list of lists wherein the first element is $x$ , second element is $y$ and last element is speed. How do I calculate the total dist traveled?. My data looks like this:
[32,22,0];[33,26,20];[31,25,26];[30,21,33];[29,20,21];[27,18,15]
I know about the variation of the Pythagoras theorem , but AFAIK , that is only for a 2 pairs of $x$ and $y$ coordinated and not multiple.