Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I have a laser beam that passes through two 3 degree angled wedges, resulting in the ability to project the laser anywhere within a 6cm radius circle (each wedge alone produces a 3cm radius circle). I need to be able to tell each wedge how much to rotate in order to get the laser from one point (x1,y1) within that circle to another point (x2,y2), and can’t seem to get the formula for the rotation angles correct…

I have determined that the angles for the two wedges will have the following relationship:

ThetaWedge1= arctan(y/x) + b

ThetaWedge2 = arctan(y/x) – b

Where “b” is a function of x and y. and 2b=ThetaWedge1-ThetaWedge2

The equation for “b” is what I am having trouble calculating and have been getting results that produce correct angles of rotation for some (x,y) coordinates and incorrect ones for others.

(Note: this equation form is just for the first quadrant, for other quadrants there will be another factor to take the quadrant into account)

This will be in a Matlab loop, so it can be assumed that each (x2,y2) point will become the (x1,y1) point for the next movement/ set of rotations.

If anyone has any ideas or has done calculations similar to these in the past, you help is much appreciated! Thanks!

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Obtaining xy-coordinate linear motion from angles of rotation

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Obtaining coordinate linear | Date |
---|---|

I How to obtain the inverse (reciprocal) of a line segment? | Mar 11, 2017 |

Obtaining spherical coordinates by rotations | Jul 10, 2013 |

Obtaining pi through use of trigonometry and limits | Jul 2, 2012 |

Obtaining a more accurate calculator? | Jun 18, 2012 |

Obtaining a normalized PDF from a histogram? | Mar 18, 2012 |

**Physics Forums - The Fusion of Science and Community**