Intro Lab
Intro Lab
Example 1
Let y( x) x 3 x 2 x Defines the curve to be graphed. Note the := in the evaluation menu is
3 2
y ( x)
1000
2000
10 0 10
x
The graphing window has been reset to -5 to 5 on the x axis and -10 to 10 on the y axis.
In general we list the window [a,b]x{c,d] where [a.b] is the interval in the x direction and [c,d] is the
interval in the y direction. This by the way is known as a Cartesian Product.
10
y ( x) 0
10
5 0 5
x
We now use the GRAPH menu under FORMAT to make changes to our graph. For example below I' ve
changed the axes style from boxed to crossed. To get to the FORMAT window double click inside the
graph
or right click on the graph and choose FORMAT from the drop down window.
10
y ( x)
5 0 5
10
x
Excercise 1 Graph x4 - 4x3 formatted as follows:
f( x)
2 x 2
f( x)
g ( x) 2 0 2
x
Note Mathcad color codes the function. You can change g(x) to a solid curve by going to the FORMAT
window
choose TRACES --then TRACE 2 and change line from dot to solid. Notice you cam change color,line
type, etc
in this window. Note the number of the trace corresponds to the listing of the functions on the vertical.
for eg in the above f(x) is trace 1, g(x) trace 2 and so on
Exercise 2
g(x) = -7 + x 2
1. Use the window [-5,5] x [-15,15].
2. axes style changed from boxed to crossed
3. both graphs solid but different colors
2 Right Click on the graph and choose TRACE from the drop down window
3. Left Click on the mouse and a crosshair wiil appear. move it to the point of intersection and read off the
coordinates the window. In the diagram below the crosshairs are seen but not the window--trust me it will
be there.
a. Graph 2x -1 and
x
on the same set of axes.
b. Find the points of intersection.
x 2x 1
Hint use a window [-1,2]x[-1,2]