[SIZE=5][/SIZE]

Hello guys,

Anyone good at math? Please help me out. in the image, the red and black rectangles were initially overlapped, so the object (the small green rectangle) had it’s coordinate x0,y0 with respect to red and black rectangle’s reference frame. Assume that R0 is the registration point of the object. Now, the black rectangle is rotated around the point (X,Y) along with the object by an angle THETA.

Now, things that I want to know:

- What is the new coordinate of the point R1 with respect to red-rectangle’s reference frame in term of X,Y and THETA?

2)What is the value of angle BETA?

I know this problem is purely mathematical and has nothing to do with AS3, but I need this solved for one of my AS3 project.

Thank you in advance