A cone of height h and base radius r has density equal to distance from its base. Find it's center of mass. How do I write a function for the density? Is it p=h-z? And what are the limits of r if I want to do this in cylindrical coordinates? Thanks in adv.