fix week12 equation