Sunteți pe pagina 1din 11

Constructing an Interactive Excel Spreadsheet

Step through this tutorial by clicking on the tabs below. There are 10 steps to work through.

Sinex 2003

a= x -10 -8 -6 -4 -2 0 2 4 6 8 10

b=

c=

type the information on this worksheet into the cells


The yellow cells will be the ones that can be changed!!

a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 91 57 31 13 3 1 7 21 43 73 111

b=

c=

in cell B5 type the red =$E$2*(A5)^2+$G$2*A5+$I$2 and then drag the formula down the column
The use of $E$2 locks this cell into the formula.

Highlight the two columns of data, and then select the chart wizard. x y -10 91 -8 57 -6 31 -4 13 -2 3 0 1 2 7 4 21 6 43 8 73 10 111

a=

b=

c=

100 50 0 -2 0 -50 -100 pick this one!

-10

-8

-6

-4

10

now used the chart wizard

a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 100 64 36 16 4 0 4 16 36 64 100

b=

c=

0 DO THIS LAST: Right click on each of the yellow cells above and select Format Cell and then click on the Protection tab. Unselect Locked (click and remove the check mark) Then go to Tools and select Protection and then Protect Sheet This allows ONLY the values in the yellow cells to be changed.

100 50 0 -2 0 -50 -100

-10

-8

-6

-4

10

Now change the values in the yellow boxes; hit enter or click on another cell, and see the graph respond.

a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 91 57 31 13 3 1 7 21 43 73 111 y ref 91 57 31 13 3 1 7 21 43 73 111

b=

c=

1 Adding a reference linecopy the values in column Band, then do a Special Paste into column C. Select Values under Paste on the Special Paste menu.

100 50 0 -2 0 -50 -100

-10

-8

-6

-4

10

Click on the graph and then drag the blue box around the data to include Column C. Now change the values of a, b, and/or c.

Now change the values in the yellow boxes; hit enter or click on another cell, and see the graph respond.

Comment box, move cursor over C4 a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 466 288 150 52 -6 -24 -2 60 162 304 486 y ref 91 57 31 13 3 1 7 21 43 73 111 100 50 0 -2 0 -50 -100 spinner right click on the spinner and select Format Control then click on the Control tab. The spinner is linked to the cell below (I3). 5 105 b= 1 101 c= -24 76

-10

-8

-6

-4

10

Now use the spinners to raise and lower the values of the coefficients. Since the spinner is linked to a formula in the blue box, you cannot type the values in now! Without the use of a formula, both typing in the cell or using the spinner will function. The spinners and scroll bars can only handle POSITIVE and whole numbers!

=H6-100 (since max is 200, allows -100 to +100) negative values decimal values -15 -1.5 scroll bar linked to this cell you would hide this value limits: 0 - 200 =(H6-100)/10 (with the division by 10, allows -10 to +10 in increments of 0.1) 85

vertical scroll bar can be resized to display horizontally

For spinners and scroll bars, the values can only be positive and whole increments. So formulas must be used to get around this shortcoming.

Scroll bars (through the Format Control and select control tab) have lower and upper limits plus the increment (every 1 or 2 or 10) can be set.

slope = x 0 1 2 3 4 5 6 7 8 9 10 5.5 y 3 4.3 5.6 6.9 8.2 9.5 10.8 12.1 13.4 14.7 16 10.15

1.3

intercept =

regression equation

18 16 14 12 10 8 6 4 2 0 0 2 4 6 x-variable
5.5 155 y=

y = 1.3x + 3

y-variable

Move the scroll bar and watch the graph! The orange line is a linear regression line and will respond as the data are changed.

10

What is y when x = You would hide the cells in gray. This is the vertical line. 5.5 0 Step 9 explains how to do this 5.5 10.15

10.15 This is the horizontal line. 0 10.15 5.5 10.15

With the chart active, go to Chart on the menu bar and select Add Data

the cells with the new data

the series names above were originially series 1, series 2, series 3, and series 4.

Restricting the input values x 0 1 2 3 4 5 6 7 8 9 10 y1=k1x2 0.0 1.0 4.0 9.0 16.0 25.0 36.0 49.0 64.0 81.0 100.0 y2=k2x2 0.0 3.0 12.0 27.0 48.0 75.0 108.0 147.0 192.0 243.0 300.0 k1 = 1 k2 = 3

100.0 80.0 y-variable 60.0 40.0

y1=k1x2 y2=k2x2

20.0
0.0 0 2 4 6 x-variable 8 10

Yellow boxes have a limit set using Data Validation Click on cell, the select Data from the menu bar, and then Validation

S-ar putea să vă placă și