- #1
Ash_Sdr
Homework Statement
Given the Speed of vehicle at any instant (say 30 meters/s) and Heading of a vehicle (say 270 degrees ) , how can i find the velocity components which is Vx and Vy .
Lemme tell you about the Heading ...This is the convention..
I don;t know if this pic is viewable or not... So Heading is with true north... which means that , if vehicle is facing NORTH --- heading is 0 degrees (or) 360 ... if its facing East , its 90 degrees , if its facing South , its 180 and If its facing West , its 270...
The X,Y convention is ... X is Vertical Axis and Y is Horizontal...
Homework Equations
Speed = sqrt(Vx^2 + Vy^2)
The Attempt at a Solution
Two possible Solutions which i can think of...
Since X is longitudinal and Y is Lateral ... Vx = Speed * sin(Heading)
Vy = Speed *cos(Heading)
and Second solution is to use delta heading
Vx = Speed * sin(Heading2 - Heading1)
Vy = Speed *cos(Heading2 - Heading1)
but I am not getting good results with these... can anyone tell me what I am doing wrong