How to rotate a triangle in an equation

  • Context: Undergrad 
  • Thread starter Thread starter tomallan
  • Start date Start date
  • Tags Tags
    Rotate Triangle
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
tomallan
Messages
20
Reaction score
0
Hi,

i have a set of definition for a triangle shape:

-3/4<x<3/4

-x/sqrt(3) + sqrt(3)/4 < y < x/sqrt(3) +sqrt(3)/4

The centroid of this triangle is at 0,0

i want to rotate this triangle by a certain degree from the centroid but i am not sure how, because if i just multiply it by cos or sin of the angle, it will just become smaller.

any hints will be appreciated.
 
Mathematics news on Phys.org
Any point can be rotated around the origin by rotating the coordinate system.
PassiveActive.JPG