Processing math: 85%
Google
 
Web unafbapune.blogspot.com

Tuesday, February 12, 2013

 

Line Rotation

Rotate a straight line by angle θ from the origin with a starting coordinate:

  1. (1,0)(cosθ,sinθ)
  2. (0,1)(sinθ,cosθ)
  3. (x,0)(xcosθ,xsinθ)
  4. (0,y)(ysinθ,ycosθ)
  5. (x,y)(xcosθysinθ,xsinθ+ycosθ)
Therefore, if we rotate (1,0) first by α and then by β, we would end up first at (cosα,sinα), and then at
(cosαcosβsinαsinβ,cosαsinβ+sinαcosβ)
On the other hand, if we rotate (1,0) by α+β, we would end up at
(cos(α+β),sin(α+β))
This means:
  cos(α+β)=cosαcosβsinαsinβsin(α+β)=cosαsinβ+sinαcosβ

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?