Submarine laws of motion problem