By 1938 the United States Navy had developed an electromechanical analog computer small enough to use aboard a submarine.
When did the US Navy invent an electromechanical computer to use on a submarine?
1938