Answer:
when water is surrounding

when air is surrounding

From above calculation we can conclude that air is less effective than water as heat transfer agent
Step-by-step explanation:
Given data:
length = 300 mm
outer diameter = 30 mm
dissipitated energy = 2 kw = 2000 w
heat transfer coefficient IN WATER = 5000 W/m^2 K
heat transfer coefficient in air = 50 W/m^2 K
we know that q_{convection} = P
From newton law of coding we have

is surface temp.
- temperature at surrounding


solvinfg for
w have



When air is surrounding we have



from above calculation we can conclude that air is less effective than water as heat transfer agent