A normal to this plane is given by (r1xr2)you are taking the cross product of r1 and r2, right? so what is r1? as above, finding the cross products of spherical coordinates isn't easy, so are these cartesian points? if so, is this reasonable?
x = r1.y*r2.z - r1.z*r2.y;
y = r1.z*r2.x - r1.x*r2.z;
z = r1.x*r2.y - r1.y*r2.x;
i think this is my primary hangup, but as you can see, i'm still a little lost. i've integrated the advice into a solution, but the output seems to be wrong, so i'm trying to track down my error.You are not logged in, either login or create an account to post comments
What I'd do to find angle A involves a great circle sailing to get the initial course A-B, then one to get A-C, then a bit of squinting and muttering to work out what to do with those numbers to get that angle; it'd probably be easier to draw a diagram. The point being that the numbers you get from this handy great circle calculator will all come out as compass courses, whereas if you do it by hand you'll get quadrantal courses, which can get a bit more confusing. Yu could probably just subtract the smaller one from the larger one, in most cases....
If the above, which I think sums up as 'here is someone else's computer doing most of the maths for you', is enough, good luck. If you'd like any more explanation with real maths in, hopefully someone else will be along shortly, but otherwise I might be more use when sober, I'll have another look then.
posted by Lebannen at 4:21 PM on February 4