I was wondering if yall could help me out with creating some formulas to use in an artillery simulation. I'm barly in HS and this sort of thing blows me out of the water. Theres 3 parts you need, I have the first mostly figured out. You are given the latitude and longitude of both your position and the the targets, there is no wind. I figured out how to find distance to the target, the first part. T1 is targets latitude T2 Is targets longitude A1 is the artillery peice lat A2 is the artillery peice long X is the difference in Lat Y is the difference in long D is the total Difference R is the end range T1-A1=X T2-A2=Y X+Y=D D/2=R The last thing I need to do is convert R (say 6.7'.32'') into meteres if at all possible. I can't find a formula anywhere. The second part is finding the degree I must aim left/right. 0 deg is directlly N, 90 is directly W 180 S ect. Is there a way to convert slope into degrees? And if so how would I find the slope of a line to my target? The third and least important part is the degree I must aim upwards to hit a target at X range. EDIT: There is an internal range adjuster in the sights that can be set up to 5km A bunch of info on the artillery I'll be using: Initial Projectile Speed: HE - 820m/s (High-Explosive) AP - 795m/s (Armor-Piercing) Projectile Weight: HE - 9kg AP - 9.5kg Barrel Length: 4.93m Barrel Elevation off ground: 6 ft P.S. If the difference in elevation was no larger than 25m, how bad would that throw my aim? I'd greatly appreciate any help at all, ar at least how I can figure it out myself?