A non-transitory computer-readable medium recording a program to be performed by a computer in a position detecting system that includes a plurality of interrogators each transmitting a pulse signal as an interrogating wave, and a responder that receives the pulse signal and returns a response signal based on the received pulse signal, the program comprising:
- detecting the distance between each two of the interrogators after receiving the pulse signal transmitted by each of the interrogators;
- detecting the distance between each of the interrogators and the responder, based on the pulse signal and the response signal;
- and
- detecting the position of each of the interrogators and the responder in the position detecting system, based on each of the detected distances.