I want to calculate the movement of points in polar coordinates.

Asked 2 years ago, Updated 2 years ago, 96 views

Consider the following issues:

On the xy plane, first move the length r_1 along the x-axis from the origin O (where angle 1_1=0).
Then, the length r_2 is moved at angle __2, and the length r_3 is moved at angle __3, and
After that, I will continue to do the same.
The blue line in the figure below shows the movement above.

figure coordinate transition
For example,
The length of the red dotted line in the figure, s_3, s_4,
The angles __3 and __4 between the red dotted line and the x-axis are
How can I calculate using r and を?

Also, what general formula can s_n and __n be used to calculate using r and を?

Ultimately, we would like to generalize in a three-dimensional polar coordinate system.

Thank you for your cooperation.

mathematics

2022-09-30 14:37

1 Answers

Vector display with p_i after step i is multiplied by p_i=(sum(r_i*cos(D_i), sum(r_i*sin(D_i))), where D_i is the angle viewed from the x-axis of the direction of progress in step i.D_i is multiplied by _code.


2022-09-30 14:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.