home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 January
/
Pcwk0198.iso
/
Zadarmo
/
WINGRAF
/
MATH_SAM.TXT
< prev
next >
Wrap
Text File
|
1997-10-15
|
3KB
|
102 lines
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 | FILL CELLS and enter the following values:
Start Index : 1
Stop Index : 11
Start Value : 4
Step Value : .5
(This sets up user defined sequence)
13- Click the Operate button
(This fills data set #2 X values between index 1 and 11 with the
user defined sequence.)
14- Click OK.
(Closes the Fill Cells dialog)
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 CELLS and select Operation Round(Cell)
then enter 1 in the Constant K edit box.
(Selects Rounds off operation sets up one decimal digit
Note: The total, average and sigma are displayed for the
selected group of cells)
21- Click the Operate button
(This performs round off of selected cells to one
decimal place. Note: The Y1 Fit is automatically
cleared any time the data changes.)
22- Click OK.
(Closes the Operate on Cells dialog)
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.)