Programmable calculator solutions for coal quality determinations