Qalculate!

Qalculate! is a powerful numeric and symbolic calculator for Linux desktops. Qalculate! is on the Accessories submenu of the Applications menu.

Qalculate!

Above the keypad are two triangular buttons that toggle Qalculate! between keypad and history mode. The history mode provides a fast and easy way to look up a recently made calculation.

Qalculate!

Both the keypad and history can be hidden to create a mini-calculator mode. To the right of the data entry window three buttons remain visible.

Qalculate!

To make basic calculations, type in the expression and press enter or click on equals.

Qalculate!

Expressions are typed in algebraic order. To calculate the square root of a number, click on sqrt first, then enter the number.

Qalculate!

Click on the Exact button to display an exact result.

Qalculate! is also a graphing calculator. To graph an expression, simply type in the expression. Use the asterisk * for multiplication including implicit multiplication.

Qalculate!

Then click on the "calculate expression" button just to the right of the expression entry window. The "calculate expression" button is the top button in the row of three buttons.

Qalculate!

From the File menu choose Plot to open the plot window.

q06plot (30K)

Click on the function range tab to change the domain of the function.

q07functionrange (19K)q08functionrangemod (20K)

Click on Apply after making changes.

Returning to the Data tab of the plot window, click on Add to add the function to the list of functions to be graphed.

q09add (30K)

This action will open the Gnuplot window.

q09gnuplot (8K)

From the plot window, additional functions can be entered and plotted without returning to the Qalculate! main window. Edit the expression in the upper window and then click on Add to add the plot to the Gnuplot window.

q10editandaddfcn (31K)

Graph labels can be added from the labels window.

q11addinglabels (29K)

The Gnuplot window now has the following appearance:

q12labelsresult (10K)

Qalculate! is also a symbolic algebra calculator. The following is a binomial expression expanded using the "Calculate expression" button.

q14binomial_expansion (33K)

Qalculate! can also solve for an unknown variable in a quadratic equation:

q15solving_quadratic (33K)

Qalculate! can also solve cubic equations.

q16solve_cubic (32K)

Qalculate! can plot trigonometric expressions. Enter the expression...

q17fourier (37K)

...choose Plot from the file menu...

q18plotfourier (32K)

...and Add to the functions window.

q19fourier (10K)

Logarithmic functions are also supported.

q20lnx (31K)

If x = 0 is still part of the domain, then a warning dialog will appear.

q21warning (11K)

Close the warning window and then use the Plot window to alter the function domain.

q22functionrange_mod (19K)

The function will now plot without a warning.

q23lnx_gnuplot (9K)

Qalculate! can even invert an equation. Enter the equation and click on the "Calculate expression" button.

q26inverse (33K)

A more extension set of help pages is available at: http://qalculate.sourceforge.net/gtk-manual/index.html

Controlling the range for the y-axis

When graphing a rational function, control of the range is important to correct rendering of the function. The function below was entered into Qalculate! then the "gears" button in the upper right was clicked (calculate expression).

Qalculate! rational functions

From the File menu choose plot.

Qalculate! plot window

Click the Add button. Note that a dialog box will appear and then, typically, be covered by the Gnuplot graphing window. No further operations can be done until the dialog box is closed. Move the Gnuplot window to uncover the dialog box and close the dialog box. Note that the dialog box is "complaining" that there are undefined values. This makes a good teaching point about the domain of the function.

Qalculate! rational functions

The initial result is less than satisfactory.

initial gnuplot

While Qalculate! does not allow control of the range from a Qalculate! dialog box, the Gnuplot window allows one to zoom in using a drag of the right mouse button. Hold down the right mouse button and drag along the x-axis to narrow the range as seen in the image below. When you have the desired range, release the right mouse button and click with the left mouse button to execute the crop.

range control with gnuplot

If you make an error, click on the blue left arrow at the top of the Gnuplot window to return to the previous zoom setting. Note that these screenshots are from Ubuntu Hardy Heron 8.04.

The result should be a proper rendition of the rational function.

Qalculate! gnuplot

If the function appears segmented, try increasing the sampling to 1000.

Qalculate! sampling

More screenshots

Qalculate! running on a desktop showing a plot. Also open is Maxima, a command line driven symbolic algebra software package.

Qalculate screenshot on Fedora 5. Click to enlarge.

Qalculate! uses Gnuplot as its plotting add-in, both are on the computers in the A204 computer laboratory. Gnuplot is a separate program which can be driven from its own command line. In the screenshot one can also see Maxima in the background multiplying complex factors.

All Qalculate! screenshots were taken on a Redhat Fedora V Linux box running Gnome.

MathStatisticsCoursesCOMFSM