Effects of the random field on the magnetic behavior of a nanoparticle with core/shell morphology