cost-profits analysis