Thresholds in Mathematics and Science