function aerodrag(form, cd, a, w, v) {

// Copyright 2003 ApexGarage.com - The Ultimate Performance Car Site

a2 = a*0.09290304;
v2 = v*0.44704;
w2 = (w / 2.2);

e1 = Math.pow(v2/100, 2.5);
e2 = Math.pow(v2, 2);

rx = (0.01 + (3.24*0.005)*e1)*w2*9.81;

drag = (0.592*cd*a2*e2) + rx;

power = Math.round(10*drag*v2*1.34/1000)/10;

form.hp.value = power;

}


