title: how to calculate shortest distance between two moving objects
body: <p>the question is simple one object is moving from <strong>east-west</strong> with a velocity of <code>v1</code> and another from <strong>south-north</strong> with velocity <code>v2</code>.</p>
  
  <p>I just need the algorithm(formula) to calculate the shortest distance between them so I can write a program for it.</p>
  
  <p>I do have distance between them and the meting point of their paths they are d1 and d2.</p>