Given a formula calculate how much cost to produce it using the current storage substances in your store or check if any of the substance is missing in your store
Given a formula calculate how much is the average cost of its production based on the historic costs of the substance of your store