Game Development Reference
In-Depth Information
You can then solve the last form of the equation using the approaches rehearsed
previously:
q
ða 3 Þ
¼
p
2
21
a 3 ¼
p
21
p
21
a ¼ 3
Since the value of a is greater than zero, two solutions exist. The solution set is as
follows:
n
o
2 p ,3
p
21
3 þ
Figure 9.13 reviews the general technique you use to complete squares.
In many instances, completing the square involves working with coefficients
of the first term that are greater than 1. Consider, for example, the following
equation:
2 x 2
3 x 1 ¼ 0
In this instance, the coefficient of the first term is 2. To alter the equation so that
you proceed as before with completing the square, you multiply the equation by
Figure 9.13
To complete the square, divide the coefficient of the second term by 2 and square the result.
 
Search WWH ::




Custom Search