converted the formula to math mode