The linear density of a rod of length 4 m is given by measured in kilograms per meter, where is measured in meters from one end of the rod. Find the total mass of the rod.

Total mass = kg