In this paper we construct a class of transonic shock in a divergent nozzle which is a part of an angular sector (for two-dimensional case) or a cone (for three-dimensional case) which does not contain the vertex. The state of the compressible flow depends only on the distance from the vertex of the angular sector or the cone. It is supersonic at the entrance, while for appropriately given larg...