The Graphing Calculator demonstrates some of the advanced 2-D and 3-D Windows Presentation Foundation (WPF) drawing capabilities.
This sample has some viewing features that are not immediately obvious.
In 2-D Graphs:
To zoom in, left-click the mouse and drag a rectangle over the area you want to enlarge. The viewport will automatically resize to the size of the rectangle drawn. If you do not want to zoom in after a left-click has been processed, right-clicking the mouse will make the rectangle disappear.
To zoom out, right-click the mouse. The viewport will zoom out by a factor of 2 from the center of the screen.
In 3-D Graphs:
To rotate the mesh, left-click the mouse and drag the cursor around.
To zoom in and out, press and hold the right mouse button, then press and hold the left mouse button. While the two buttons are held, move the mouse up or down.
To reset the camera to its default position, double-click on the screen.
Input nuances:
The sin, cos and tan operations all require input that is surrounded by parentheses. Therefore, "sin34" won't work, but "sin(34)" will.
"x^y" means x to the yth power. It is not an XOR operation.
Shorthand constructs such as 2x and 7sin(3) are allowed, for convenience. To get the same effect with variables and functions, a simple space works the same way. For example, "u v" will be interpreted as u*v, but "uv" will be interpreted as a single variable, "uv".
Variables are not case-sensitive.
Pi can be accessed by using the variable "pi".
In nongraphing mode, the calculator saves the last valid answer in a variable called "ans".