Complex mathematical equation