Vinny Graphics Sample Math Problems:

Problem #1 Make an X,Y table from test data.

Given:
 Test data:
   X          Y
   4.79       98.312
   5.34       145.23
   6.93       201.67
   8.86       376.81

Create an X,Y  table with X going from 4 to 9 
in steps of 0.5. and round Y to 1 place.

Solution:
1- FILE | OPEN | TEXT FILE | Math_Sam.txt
   (This opens this file in the Vinny Graphics text editor)
2- PREFER | enter Max Data Index of 30. Click OK.
   (Sets length of new data files equal to 30 rows)
3- FILE | NEW DATA.  WINDOW | TITLE VERT.
   (Opens a new data set and arranges windows)
4- Drag mouse over above test data
   make sure to include both columns but
   do not include X Y titles.
   (Selects above data for the following copy)
5- EDIT | COPY.
   (Copies selected data to Windows clipboard)
6- Click on data set #1 cell [X1, 1]
   (Makes data set #1 active and selects cell [X1, 1])
7- EDIT | PASTE.
   (Pastes data from Windows clipboard starting in selected cell) 
8- Right click data set #1 and select Y Fit.
   (Opens local pop up menu and then opens regression dialog)
9- Click 2nd Order Polynomial.
   (Does a 2nd Order Polynomial regression of the X,Y data in set #1)
10- Click OK.
    (Closes regression dialog and completes action)
11- FILE | NEW DATA.
    (Opens new data set #2)
12- MATH | INDEX X. Enter 11 for K. Click OK.
    (This fills data set #2 X values with index number from 1 to 11.)
13- MATH | OPERATE ON X, X=X/K.  Enter 2 for K.  Click OK.
    (Divides all values in the X column of data set #1 by 2)
14- MATH | OPERATE ON X, X=X+K.  Enter 3.5 for K.  Click OK.
    (Adds 3.5 to all values in the X column of data set #1)
15- Click on data set #2 cell [X2, 1] then Drag mouse
    over X2 column data from 4 to 9.
    (Selects X2 data for the following copy)
16- EDIT | COPY.
    (Copies selected data to Windows clipboard)
17- Click on data set #1 title and then cell [X1, 5].
    (Selects data set #1 cell [X1, 5] for the following paste)
18- EDIT | PASTE.
    (Pastes data from Windows clipboard into empty X cells and
    then automatically fills in a corresponding curve fit value for Y) 
19- Drag mouse over Y1 column data from 94.7... to 389.5...
    (Selects new Y1 data for the following math operation)
20- MATH | OPERATE ON Selection S=Round(S).  Enter 1 for K.  Click OK.
    (Rounds off selected Y data to one decimal place)

The data table should look like this:

4	94.7
4.5	102.9
5	115.8
5.5	133.5
6	155.9
6.5	183
7	214.8
7.5	251.4
8	292.7
8.5	338.7
9	389.5

A graph of this data can be viewed by:

21- FILE | OPEN | GRAPH FILE | Math_Sam.gra. Click OK.  Click Yes. 
    (Closes data set #1 & #2 and opens Math Sample graph file.)







