bryoco/Newtonian_KSP — pull request #5 by 123xqr123 (2014-07-17 23:30:43+00:00)
Title: transfer angle

var angle = function(v,r){

var mu = 398600441800000;

var a = v*v/2-mu/r;

var h = r*v;

var e = Math.sqrt(1+(2*a*h*h/mu/mu));

return Math.acos(1/e);

};