Hi,
I have the following formula for calculating cross wind and it works using a hand calculator inputing in degrees, but converting to radians it does not convert. So what I am asking for is input on how to convert the formula for use in a gauge.
Head- and cross-wind components.
HW= WS*cos(WD-RD) (tailwind negative)
XW= WS*sin(WD-RD) (positive= wind from right)
where HW, XW, WS are the headwind, crosswind and wind speed. WD and RD are the wind direction (from) and runway direction. AH is aircraft heading.
As usual, unless you have a version of sin and cos available that takes degree arguments, you'll need to convert to radians.
Example: Wind 060 @ 20 departing Runway 3.
WS=20 knots
WD=60 degrees = 60*pi/180 radians
RD=30 degrees = 30*pi/180 radians or
AH=xx degrees = xx*pi.180 radians
Plugging in:
Headwind=17.32 knots
Crosswind = 10 knots (from right)
using the above formula I converted the degrees to radians
60 degrees = 1.0472 radians 30 degrees = 0.5236 radians. XW=20 * sin(1.0472 - 0.5236) = 20 * sin(0.5236) = 20 * 0.009138 = 0.11276 which is not correct answer.
The purpose of this is to calculate and display the result in an EFIS below a display showing wind speed and direction.
One other thing I might mention is that I see the difference between the mag heading and the true heading of the winds seems to be about 19 degrees and not the mag var for the location. for example at KONT the magvar is shown as 12.4 but actual is approx 14 degrees.
I would appreciate any advice that can be given. Thanks in advance.
Richie1935
I have the following formula for calculating cross wind and it works using a hand calculator inputing in degrees, but converting to radians it does not convert. So what I am asking for is input on how to convert the formula for use in a gauge.
Head- and cross-wind components.
HW= WS*cos(WD-RD) (tailwind negative)
XW= WS*sin(WD-RD) (positive= wind from right)
where HW, XW, WS are the headwind, crosswind and wind speed. WD and RD are the wind direction (from) and runway direction. AH is aircraft heading.
As usual, unless you have a version of sin and cos available that takes degree arguments, you'll need to convert to radians.
Example: Wind 060 @ 20 departing Runway 3.
WS=20 knots
WD=60 degrees = 60*pi/180 radians
RD=30 degrees = 30*pi/180 radians or
AH=xx degrees = xx*pi.180 radians
Plugging in:
Headwind=17.32 knots
Crosswind = 10 knots (from right)
using the above formula I converted the degrees to radians
60 degrees = 1.0472 radians 30 degrees = 0.5236 radians. XW=20 * sin(1.0472 - 0.5236) = 20 * sin(0.5236) = 20 * 0.009138 = 0.11276 which is not correct answer.
The purpose of this is to calculate and display the result in an EFIS below a display showing wind speed and direction.
One other thing I might mention is that I see the difference between the mag heading and the true heading of the winds seems to be about 19 degrees and not the mag var for the location. for example at KONT the magvar is shown as 12.4 but actual is approx 14 degrees.
I would appreciate any advice that can be given. Thanks in advance.
Richie1935


