Solution:
Given data:
A rectangular tank with dimensions 5 m as length, wide of 2 m and height of 8 m is filled with water tot a depth of 5 m.
A). If we select an elemental part of the tank of thickness dy at a depth y from the top, its mass will be :
m = p.v
⇒ m = p.(Ady)
⇒ m = p.( 5 x 2 dy)
⇒ m = 10 p dy
Now work done in moving mass from a depth y to the top will,
dw = m.g.y
dw = (10 p dy).g.y
or dw = 10 p.g.y.dy
Total work done is :

![$ W=10 pg[(8^2-2^2)/(2)]$](https://img.qammunity.org/2021/formulas/physics/college/5zq1a5xzuewz69a03s32e8n5raru3s50dv.png)
![$ W=10 pg[(60)/(2)]$](https://img.qammunity.org/2021/formulas/physics/college/jpl5vjbgtfcmb6f3ui2ogbjhyf7591v2nn.png)
W = 300 p.g
B). Origin at the bottom and consider an elemental part of the tank at a height y from the bottom, then its mass is :
⇒ m = p.( 5 x 2 dy)
⇒ m = 10 p dy
Now, work done in moving this mass from a height y above origin to a height 8 m above the origin is,
dw = mg(8 - y)
dw = (10 p dy).g.(8 - y)
dw = 10 pg.(8 - y). dy
The total work done is


![W=10 p.g \left [ 8y-(y^2)/(2) \right ]_0^5](https://img.qammunity.org/2021/formulas/physics/college/2l5trzobrk03k65ulnghopuujpvrfxisf8.png)
![W=10 p.g \left [ 8(5)-((5)^2)/(2) \right ]](https://img.qammunity.org/2021/formulas/physics/college/jv6fjy1afduxftxheojm25sehx4h5vc512.png)
W = 10 pg (40-12.5)
W = 275 pg
C). Origin at the water level and consider y axis positive in the downward direction.
The work done to move and elemental ,as from a depth y below the water level to the top of the tank is,
dw = 10 pg (y+2) dy
The total work done is :

![W=10 p.g \left[ (y^2)/(2)+2y \right ]_0^5](https://img.qammunity.org/2021/formulas/physics/college/fil2e1ykfb82xmnxqnmpkh6056xmoebwwe.png)
![W=10 p.g \left[ (5^2)/(2)+2(5) \right ]](https://img.qammunity.org/2021/formulas/physics/college/givpfh4bfnmo68goveav5yp7g02z03sjgy.png)
W = 10 p g (12.5 + 10)
W = 225 pg