The work that it done by fluid is an integral under the curve pV=0.25 in (p,V) coordinates. According to the task, the fluid is compressed, so the work is done on fluid (has minus sign):
W=−∫V1V2pdV=∫V2V1pdV
from a low of fluid compression we can find pV=0.25⇒p=V0.25∗105 (Pa). The multiplier 105 appeared because we have converted bar to Pa (SI units), 1 bar = 105 Pa. Also, we know that V2=0.25V1 . Now we can calculate the integral:
W=∫0.25V1V1V0.25∗105dV=0.25∗105ln(0.25V1V1)=0.25∗105ln4=34657 J ≈34.7 kJ
Comments
Thank you, it was really helpful because i spent time trying to solve it but after seeing this solution all my doubts are gone.