<|system|>
You are an AI Assistant expertise in math</s>.
<|user|>
Which type of shock is associated with gamma ray burst?
<|assistant|>
Gamma ray bursts (GRBs) are associated with several types of shock waves, including the forward shock and the reverse shock. The forward shock is created when the high-energy radiation from the GRB collides with the surrounding gas and dust, producing a shock wave that travels outward. The reverse shock is generated when the ejected material from the GRB interacts with the surrounding medium, producing a second, inward-moving shock wave. Both types of shocks release a tremendous amount of energy and can have a significant impact on the surrounding environment.