Chapter 2: Problem 25
Consider a quadratic expression, say \\[ x^{2}-x-2 \\] Describing where this quadratic is positive (that is, greater than 0 ). involves describing a set of numbers that are either less than the smaller root (which is -1 ) or greater than the larger root (which is +2 ). Write a \(\mathrm{C}++\) Boolean expression that is true when this formula has positive values.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.