Speed has only magnitude and no direction.
Given that the density of heptane is

The mass of heptane is

The density of water is

The mass of water is

The volume of heptane will be

The volume of water will be

Thus, the volume of heptane is 45.32 mL and the volume of water is 37 mL.
The total volume of liquid in the cylinder will be

The total volume of liquid in the cylinder will be 82.32 mL.
Able to conduct electricity
As we know that KE and PE is same at a given position
so we will have as a function of position given as

also the PE is given as function of position as

now it is given that
KE = PE
now we will have




so the position is 0.707 times of amplitude when KE and PE will be same
Part b)
KE of SHO at x = A/3
we can use the formula

now to find the fraction of kinetic energy



now since total energy is sum of KE and PE
so fraction of PE at the same position will be

