Respected all

suppose there are two nodes: node0 and node1
node0 has a coordinate of (20,30) and node1 has coordinate (30,50)
the total time of simulation is 5 sec
at time t=1 sec, node1 starts moving towards coordinate (170,30)

now if since node 1 is in motion , i need to calculate the
*distance*between node0 and node1  for every sec.
can anyone suggest how to calculate the distance between these two nodes at
every instant of time

Regards
Suman

Reply via email to