Game Development Reference
In-Depth Information
2. Click the Value menu item. Then click between the absolute value bars
to place the Value field. In this field type x.
3. To generate the graph of this absolute value equation, locate the Chart for
Formula 1 button in the lower-right panel and click on it. You see the
graph that appears above the x axis in Figure 10.33.
To implement an absolute value function that generates the inverted graph
shown in Figure 10.33, follow these steps:
1. Click the Subtract menu item. To position the minus sign the Subtract
menu generates, click in the lower equation composition area.
2. Click the Abs (absolute value) menu item. Then click in the lower equation
composition area to the right of the minus sign to position the absolute
value bars. Pull the bars apart far enough to accommodate a variable.
3. Click the Value menu item. To position the Value field, click between the
absolute value bars.
4. Now click the Chart for Formula 2 buttons to see the graph. This graph
appears below the x axis.
To give your graphs the appearance of those illustrated in Figure 10.33, use the
following approach:
1. Locate the X Range fields below both of the Chart for Formula 1 and Chart
for Formula 2 buttons. These are in the lower-right panel.
2. Click the arrow controls for the From fields and set them to 10.
3. Click the arrow controls for the To fields and set them to 10.
4. On the Chart panel, set the x and y Zoom values to 7. Set the Width fields
for both charts to 2.
5. Finally, set the Points field to 2.
Flipping Parabolas
To flip a parabola, you provide a negative value as the coefficient of x . Consider,
for example, the equation y ¼ x 2 . You can rewrite this equation as y ¼ ax 2 .In
this instance, the constant a equals 1, so if you make the equation explicit, then it
reads y ¼ð 1 Þx 2 . The value of the coefficient is 1, and the coefficient defines how
Search WWH ::




Custom Search