Students develop tool to predict the carbon footprint of algorithms