Game Development Reference
In-Depth Information
2. Click the Parens menu item. Then click in the lower equation composi-
tion area to position the parentheses. Pull them apart far enough to ac-
commodate a field for a negative sign and a Value field.
3. Click the Subtract menu item. Then click inside the parens in the equa-
tion composition area to create a minus sign ( ). Move the minus sign
so that it rests against the left parenthesis.
4. Click on the Value item in the menu. In the equation composition after
the minus sign, click to place the Value field. In this field, type x .
5. Now click on the menu item for Power, and place a field for the exponent
to the upper right of the closing parenthesis. Type a 7 in the Exponent
field.
6. Now in the lower-right panel, click on the Chart for Formula 2 button.
As Figure 10.19 reveals, you now see a second graph in the Cartesian
plane. Unlike the first, this graph is symmetrical with respect to the
origin of the Cartesian plane. Its course is from quadrant II to
quadrant IV.
To thicken the lines for the graphs so that they appear as shown in Figure 10.19,
click on the Width controls in the Chart panel. To change the color, select a color
from the Color palette.
In Figure 10.19, the shape of the graph the negative values generate is the reverse
of what you see if you do not make the base value negative. To see how this is
so, remove the minus sign from the lower of the two equations. To remove the
minus sign, hold down the Shift key and click on the minus sign. This action
deletes it.
Then click the Chart for Formula 2 button. The effect is that the odd graph travels
from quadrant I to quadrant III instead of from quadrant II to quadrant IV.
Roots
For rational numbers, the use of radicals restricts the output to positive values, as
Figure 10.20 reveals. However, if you multiply the extracted root by a negative
number, such as 1, then you reverse the values that result so that the curve of
the graph falls below the x axis.
Search WWH ::




Custom Search