cephas1012
08-24-03, 11:51 AM
There was something I was wondering about that I am not exactly sure how to do.
Suppose I take a normal circle on a plane and represent it by the parametric equations x=Cos[t] and y=Sin[t]. Now suppose I put it into 3d dimensional space and rotate it around anyway i want at different angles. What is an easy way of doing this?
I know there is rotation matrices that you can use, and I have used those before, but they seem to get really icky. The thing I was wondering about is if there is some way you can can do it with a vector. Like have a vector that points in the direction of the rotation you want and then have some way of transforming the initial equation so that its rotated in line with the vector or perhaps perpendicular to the vector.
So how do you do this?
Would it be better to use a position vector function r=fi+gj+hk? Where f,g,h are functions of t and i,j, and k are unit vectors
Then the initial equation looks like r=Cos[t]i+Sin[t]j and you can just rotate it somehow.
Suppose I take a normal circle on a plane and represent it by the parametric equations x=Cos[t] and y=Sin[t]. Now suppose I put it into 3d dimensional space and rotate it around anyway i want at different angles. What is an easy way of doing this?
I know there is rotation matrices that you can use, and I have used those before, but they seem to get really icky. The thing I was wondering about is if there is some way you can can do it with a vector. Like have a vector that points in the direction of the rotation you want and then have some way of transforming the initial equation so that its rotated in line with the vector or perhaps perpendicular to the vector.
So how do you do this?
Would it be better to use a position vector function r=fi+gj+hk? Where f,g,h are functions of t and i,j, and k are unit vectors
Then the initial equation looks like r=Cos[t]i+Sin[t]j and you can just rotate it somehow.