Add math formula to science template