Answer:
0.315758099469 m
Step-by-step explanation:
m = Mass of cylinder = 1.5 kg
= Density of water = 1000 kg/m³
V = Volume = Ah
A = Area =

k = Spring constant = 31 N/m
x = Displacement
g = Acceleration due to gravity = 9.81 m/s²
Here the forces are conserved
Weight of cylinder = Buoyant force + Spring force

The length of the submerged cylinder is 0.315758099469 m