An object weighing 310 N in air is immersed in water after being tied to a string connected to a balance. The scale now reads 270 N. Immersed in oil, the object appears to weigh 290 N.
(a) Find the density of the object.
(b) Find the density of the oil.