Game Development Reference
In-Depth Information
2. f ( x ) ¼ 3 x þ 5
a. f (4)
b. f (2)
c. f (5 4)
3. f ( x ) ¼ 4 x þ 5 2 x
a. f (1)
b. f (8 3)
c. f (23)
To delete individual operators or fields, hold down the Shift key and click on the
operator or field using the left mouse button.
To set up the function in the upper equation composition area illustrated in
Figure 4.16, use these steps:
1. Click the f()Func menu item and position the f() operator in the upper
equation composition area. Use the mouse cursor to pull the closing par-
enthesis to the right.
2. Click the ()Parens menu item and place a set of parentheses between the
parentheses of the function operator. Use the mouse cursor to pull the inner
closing parenthesis to the right.
3. Now successively click the Value menu item three times and with each click
place a Value field, as shown in Figure 4.16. You place one just after the
opening inner parenthesis. You place a second just before the closing inner
parenthesis. You then place a third before the closing outer parenthesis.
4. To add operators, click the Add menu item twice in succession and with
each click place a plus sign in your function. The first plus sign follows the
first Value field. The second plus sign follows the closing inner parenthesis.
5. Having set up the shell of a function, you can now proceed to add constants
and variables to it. Toward this end, type x , a , and 9, as shown in Figure 4.16.
6. To identify and assign values to the variables, in the top Name field of the
Variable panel, type x . In the Value field to the right of this field, type 3.
Follow up by typing an a in the lower Name field. Type 0 for the value you
associate with this field.
Search WWH ::




Custom Search