A rod of length 30.0 cm has linear density (mass per length) given by: ?= 50.0 + 20.0x. Where x is the distance from one end, measured in meters, and ?is in grams/meter.
1. What is the mass of the rod?
2. How far from the x = 0 end is its center of mass?