calculated cost of coal mining