home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 January / Pcwk0198.iso / Zadarmo / WINGRAF / MATH_SAM.TXT < prev    next >
Text File  |  1997-10-15  |  3KB  |  102 lines

  1. Vinny Graphics Sample Math Problems:
  2.  
  3. Problem #1 Make an X,Y table from test data.
  4.  
  5. Given:
  6.  Test data:
  7.    X          Y
  8.    4.79       98.312
  9.    5.34       145.23
  10.    6.93       201.67
  11.    8.86       376.81
  12.  
  13. Create an X,Y  table with X going from 4 to 9 
  14. in steps of 0.5. and round Y to 1 place.
  15.  
  16. Solution:
  17. 1- FILE | OPEN | TEXT FILE | Math_Sam.txt
  18.    (This opens this file in the Vinny Graphics text editor)
  19. 2- PREFER | enter Max Data Index of 30. Click OK.
  20.    (Sets length of new data files equal to 30 rows)
  21. 3- FILE | NEW DATA.  WINDOW | TITLE VERT.
  22.    (Opens a new data set and arranges windows)
  23. 4- Drag mouse over above test data
  24.    make sure to include both columns but
  25.    do not include X Y titles.
  26.    (Selects above data for the following copy)
  27. 5- EDIT | COPY.
  28.    (Copies selected data to Windows clipboard)
  29. 6- Click on data set #1 cell [X1, 1]
  30.    (Makes data set #1 active and selects cell [X1, 1])
  31. 7- EDIT | PASTE.
  32.    (Pastes data from Windows clipboard starting in selected cell) 
  33. 8- Right click data set #1 and select Y Fit.
  34.    (Opens local pop up menu and then opens regression dialog)
  35. 9- Click 2nd Order Polynomial.
  36.    (Does a 2nd Order Polynomial regression of the X,Y data in set #1)
  37. 10- Click OK.
  38.     (Closes regression dialog and completes action)
  39. 11- FILE | NEW DATA.
  40.     (Opens new data set #2)
  41. 12- MATH | FILL CELLS and enter the following values:
  42.      Start Index : 1
  43.      Stop Index  : 11
  44.      Start Value : 4
  45.      Step Value  : .5
  46.     (This sets up user defined sequence) 
  47. 13- Click the Operate button
  48.     (This fills data set #2 X values between index 1 and 11 with the
  49.      user defined sequence.)
  50. 14- Click OK.
  51.     (Closes the Fill Cells dialog)
  52. 15- Click on data set #2 cell [X2, 1] then Drag mouse
  53.     over X2 column data from 4 to 9.
  54.     (Selects X2 data for the following copy)
  55. 16- EDIT | COPY.
  56.     (Copies selected data to Windows clipboard)
  57. 17- Click on data set #1 title and then cell [X1, 5].
  58.     (Selects data set #1 cell [X1, 5] for the following paste)
  59. 18- EDIT | PASTE.
  60.     (Pastes data from Windows clipboard into empty X cells and
  61.     then automatically fills in a corresponding curve fit value for Y) 
  62. 19- Drag mouse over Y1 column data from 94.7... to 389.5...
  63.     (Selects new Y1 data for the following math operation)
  64. 20- MATH | OPERATE on CELLS and select Operation Round(Cell)
  65.     then enter 1 in the Constant K edit box. 
  66.     (Selects Rounds off operation sets up one decimal digit
  67.     Note: The total, average and sigma are displayed for the
  68.     selected group of cells)
  69. 21- Click the Operate button
  70.     (This performs round off of selected cells to one
  71.     decimal place. Note: The Y1 Fit is automatically
  72.     cleared any time the data changes.)
  73. 22- Click OK.
  74.     (Closes the Operate on Cells dialog)
  75.  
  76.  
  77. The data table should look like this:
  78.  
  79. 4    94.7
  80. 4.5    102.9
  81. 5    115.8
  82. 5.5    133.5
  83. 6    155.9
  84. 6.5    183
  85. 7    214.8
  86. 7.5    251.4
  87. 8    292.7
  88. 8.5    338.7
  89. 9    389.5
  90.  
  91. A graph of this data can be viewed by:
  92.  
  93. 21- FILE | OPEN | GRAPH FILE | Math_Sam.gra. Click OK.  Click Yes. 
  94.     (Closes data set #1 & #2 and opens Math Sample graph file.)
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.