E1.05: Graphs Part 1
Section 3. Graphs
First we’ll investigate how to use a spreadsheet to graph one formula onto a rectangular coordinate system, just like the graphs you have done by hand in algebra classes. You MUST put the values for the input variable and the output variable in two columns, with the input variable on the left. Some of the details of exactly what menus to use after that may vary from one spreadsheet program to another. The description here is for Excel. Ask for help about the exact sequence to use if you have a different spreadsheet program, such as Open Office. (The Microsoft Works spreadsheet program will not graph.) Then, in Excel, choose the Insert > Chart Example 7. Graph [latex]y=4+2{{(x-3)}^{2}}[/latex] on the values using a rectangular coordinate system and connecting the points with a line/curve. Solution:- First enter the x-values in the first column, including the label at the top of the column. There is no clear answer about exactly how many values to enter here, but be sure they include some at each end of the range of x-values.
- Second, enter the formula as described in Section 2, Example 4, including the label at the top of the column. (Look back at that example to see the values.)
- Select the cells that contain the labels and the data to graph.
- In the menus at the top of the page, choose Insert>Chart to begin a graph.
- Choose X-Y Scatter for the type. (Gives the rectangular coordinate system that we want.)
- You’ll have a choice of connected or unconnected lines. In this case, choose the connected lines. Sometimes in this course we’ll choose unconnected lines.
- Go through the rest of the choices quickly, not changing anything, and click Finish.
- Repeat the first few steps in the previous example to obtain the first formula values. This time extend the x-values to 12.
- In the third column of the spreadsheet, put the values for the formula [latex]y=10x[/latex].
- Select all three columns of numbers, as far down as you have values.
- Use Insert>Chart and choose X-Y Scatter. Choose the connected lines. I encourage you to experiment a bit.
|
The range of values is about [latex]x=1[/latex] to [latex]x=10[/latex] for which the values of the curved graph are below the values of the straight-line graph. |
Licenses & Attributions
CC licensed content, Shared previously
- Mathematics for Modeling. Authored by: Mary Parker and Hunter Ellinger. License: CC BY: Attribution.