To find the total mass of the nails the carpenter bought, we can simply multiply the number of nails by the mass of each nail:
Total mass = 90 x 5.2 x 10^-4 kg/nail
Total mass = 0.0468 kg
Therefore, the total mass of the nails the carpenter bought is 0.0468 kg.