|
|
|
How to how to create a table of function values. (And introduction to functions)
Theory:A function is a set of ordered pairs where for any 'x' value in the set, there is only one 'y' value. For example, this set of ordered pairs is a function: { (0,0) (1,1) (2,8) (3,27) } A rule that generates the entire set is written as: 'y = f(x)', which is short for: 'y is a function of x'. The rule: y = x³ generates the set of ordered pairs above, plus an infinite number of other ordered pairs. It is a function because for every 'x' value, there is only one possible 'y' value:
These results can be displayed in a table, like this:
For more complicated functions, such as: y = 2x² - 5x + 2, a table of values will help you to evaluate and graph the function.
Method:Maths Helper Plus makes it easy to prepare a table of function values. As an example, we will show you how to create a table of function values for y = 2x² - 5x + 2. The table will also include separate columns for each of the three terms. Step 1Â Start with an empty Maths Helper Plus documentIf you have just launched the software then you already have an empty document, otherwise hold down ‘Ctrl’ while you briefly press the ‘N’ key. Â Step 2Â Enter a function: y = f(x)1. Press the F3 key to activate the 'input box' for typing (see below): 2. Type your function, as shown below: Â Â Â Â Â Â Â Â Â Â Â Â Â
3. Press Enter to complete the entry Â
 Step 3 Create the table of function values1. Carefully double click beside the function edit box on the text view.  The correct place to double click is shown by the red rectangle in the diagram below: This will display the 'options dialog' for your function.  2. Click the 'Data Table' tab at the top of the options dialog. The options box 'Data Table' tab will display as shown below:   3. Enter 'x' values for your data table. To do this you click inside the top edit box, and type the 'x' values separated by commas:
HINT: For evenly spaced 'x' values, you can use the 'series operator'. For this example, you can enter the same values as listed above like this: <-1, 3, 0.5> This means: 'x values from -1 to 3 in steps of 0.5. For more information on the series operator, see the Maths Helper Plus 'Help'.  4. Enter expressions for your data table. These will be evaluated for each 'x' value you typed in the top edit box.  To do this you click inside the bottom edit box, and type the expressions separated by commas.  HINT: For the simplest table, the only expression needed is: 'y'.  To see how a complicated function can be evaluated, include some simpler expressions that form the function.  For example, for the function: y = 2x² - 5x + 2 , these expressions may be useful:
5. View the table. Click the 'OK' button at the bottom of the Options dialog box. The text view will now display the table of values. (See below:) HINT: If you can only see part of the table, hold down Ctrl and press the 'T' key to display text only. To return to displaying both graph and text, hold down Ctrl and press the 'B' key. Â
 6. To change the settings for your table, double click on the text view to the left of the table, anywhere on the area shown by the red box in the diagram below:
 |