we r given the velocity and acceleration components of a particular point in motion..lets assume them as Vx,Vy,Vzand Ax,Ay,Az respectvely...

now we have to calculate the direction cosines of each component with its respective vector...

i.e w1 be the direction cosine Vx makes with the velocity vector and w2,w3....and w4 be the direction cosine Ax makes with the acceleration vector and w5,w6..

now if

we have to calculate the curvature and torsion of that particular point..

else exit from the program..

can u please help me out..

am in damn need of this code