Game Development Reference
In-Depth Information
7. Now proceed to the lower equation composition area. Click the Value menu
item and place the corresponding field in the lower composition area. Type z
in this field. The z variable allows you to capture the output of the function
you have created in the upper equation composition area.
8. Given this work, you can now click the equal sign button in the upper
solution panel and see the output of your function. It appears in the upper
solution panel answer field. When you add 3 to 0 and then add this sum to 9,
the outcome is 12.
Using your work in the preceding steps as a starting point, alter the function so
that it accommodates the example functions given in items 1 through 3 pre-
ceding the detailed instructions. Change variable values, fields, and operators to
accomplish these tasks.
Conclusion
In this chapter, you began with an exploration of basic factoring. A review of
factoring at this point is worthwhile because it anticipates work to come in the next
chapter and also serves as an occasion for reviewing the basic properties of numbers.
In this respect, it also proves worthwhile to briefly review the order of operations as
you solve problems. Given this start, the discussion then turned to an extension of
the previous explorations of sets. In this context, the focus of attention lay on
showing that you can define relations between numbers by using sets.
A central notion in this respect is that of the domain and range of an ordered pair
of numbers. Given a relation that generates ordered pairs, you can identify
the first element of each ordered pair as belonging to a set you can designate as
the domain. You can identify the second element as belonging to another set, the
range. Relations lead to functions, which formalize the expression of the corre-
spondence of the values you find in the domain and range of a relation. You can
plot functions using a Cartesian coordinate system. After plotting the domain
and range values of ordered pairs, you can apply the vertical line rule to it to
determine whether the relation constitutes a valid function.
Search WWH ::




Custom Search