given $x,y$ and $\theta$, calculate its distance to origin $(0,0,0)$

48 Views Asked by At

Apologies if this question sounds really dumb, but I am faced with a set of points:

$x_1,y_1,\theta_1$

$x_2,y_2,\theta_2$ ..

and I am looking to work out the distance between each row $(x_1,y_1,\theta_1)$ to the origin $(0,0,0)$. I have not encountered this before and I was wondering what the formula for compute this would be. A google search does not seem to reveal a lot :(

1

There are 1 best solutions below

3
On

Using Pythagoras' theorem I would say that for the first set it is equal to $$\sqrt{x_1^2+y_1^2}$$ if I have understood you correctly?