Query: What part of the US military developed an electromechanical analog computer to use on a submarine?
Context: By 1938 the United States Navy had developed an electromechanical analog computer small enough to use aboard a submarine. This was the Torpedo Data Computer, which used trigonometry to solve the problem of firing a torpedo at a moving target.