Let `A` be the area of the piston and `v_(1)` be its velocity. Then
`(F/A+P_(0))+1/2rhov_(1)^(2)=P_(0)+1/2rhov_(2)^(2), Av_(1)=av_(2)`
`impliesF/A=1/2rhov_(1)^()2[(A^(2))/(a^(2))-1]=(rhov_(1)^(2)A^(2))/(a^(2))((A^(2))/(a^(2))-1)`
Net work done is `Fxx` distance `=Fl=(2v_(1)^(2)A^(2)t)/(2a^(2))`