Computer investigations of a double focusing spectrometer and comporisons with experimental results