The density function for a femur can be modeled as

ρ(x)=80+πcos(πx)+3x grams per centimeter, −25≤x≤25.

(a) Calculate the total mass of a femur.
(b) Find the center of mass of a femur.