They would float.
cause it depends on how much the mass is on each of them
The coin has a greater density than water. Styrofoam has less density than water. It's as simple as that.
Materials that are less dense than water will float. Wood and styrofoam are 2 such materials. This property is know as bouyancy. Materials that are denser than water can be formed in a way to displace water so that they will float.
The block of Styrofoam floats on water while a same size block of lead lies submerged in the water. The buoyant force is greatest on the lead. Compared to an empty ship, the same ship loaded with Styrofoam will float lower in the water.
They would float.
sink
Styrofoam
Wood and styrofoam, to name two.
cause it depends on how much the mass is on each of them
That will depend on the size of the styrofoam pieces. If they are significantly larger than the sand, you merely pick them out by hand. If not, then a sieve can be used assuming the sand will go thru the sieve and the styrofoam will be too large to pass through. You need to find a sieve with the right size holes. Another way is to add acetone and the styrofoam will dissolve, and the sand will stay behind, but this technique doesn't give you the styrofoam back again.
Under water they are as buoyant as each other but on land the balloon will float away and the Styrofoam will stay.
Acetone is a chemical which will dissolve Styrofoam. Certain types of spray paint, as well as gasoline, will also dissolve Styrofoam.
The property that separates styrofoam balls is their buoyancy. Styrofoam balls are lightweight and have air trapped inside, making them less dense than water. This causes them to float on the surface of water, separating them from denser materials that sink.
The coin has a greater density than water. Styrofoam has less density than water. It's as simple as that.
A block of pumice stone, an iceberg, a log of wood, and so on. Thanks to H Z below, I never even thought of styrofoam.
Materials that are less dense than water will float. Wood and styrofoam are 2 such materials. This property is know as bouyancy. Materials that are denser than water can be formed in a way to displace water so that they will float.