## GNOME Calculator Manual

2000
Gregory Leblanc

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found here.

Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and those trademarks are made aware to the members of the GNOME Documentation Project, the names have been printed in caps or initial caps.

This is version 0.2 of the GNOME Calculator manual.

## Introduction

GNOME Calculator is a double precision calculator application. It provides advanced scientific and mathematical features such as trigonometric functions (sine, cosine, tangent) and logarithms (log, ln).

To run GNOME Calculator, select Simple Calculator from the Utilities submenu of the Main Menu, or type `gcalc` on the command line.

GNOME Calculator is included in the `gnome-utils` package, which is part of the GNOME desktop environment. This document describes version &version; of GNOME Calculator.

## Using GNOME Calculator

GNOME Calculator can be used to perform any of the calculations that you would normally use a scientific calculator or slide-rule for, or to replace the trigonometric and logarithmic tables generally found in the appendix of science textbooks. It is intended as a GNOME replacement for xcalc.

### Basic usage

Starting GNOME Calculator opens the Main window, shown in .

#### GNOME Calculator Main Window

GNOME Calculator Main Window

To perform calculations, type in the numbers using the number keys on your keyboard, or use the 0 through 9 buttons on the main window, and the operator buttons surrounding them.

### Menus

The menu bar, located at the top of the Main Window, contains the following menus:

File

  Ctl-Q Quit which exits from GNOME Calculator.

Edit

  Ctl-C Edit which copies the current display.

Help

  About — shows basic information about GNOME Calculator, such as the author's name and the application version number.

### Buttons

The buttons, located on the Main Window, are as follows:

1/x

  Inverts the current display.

  #### 1/x

  When `10` is displayed, pressing 1/x will cause GNOME Calculator to display `0.1`.

x^2

  Raises the current display to the second power.

  #### x^2

  When `5` is displayed, pressing x^2 will cause GNOME Calculator to display `25`.

SQRT

  Calculates the square root.

  #### SQRT

  When `81` is displayed, pressing SQRT will cause GNOME Calculator to display `9`.

CE/C

  This button clears the display.

AC

  This button clears the display and all queued commands.

INV

  The INV is used to "invert" some operations in GNOME Calculator.

  #### INV

  The INV can be used to compute the arcsine of a number. If the display shows `1`, pressing INV, followed by sin, yields a result of `90`, assuming that the units display is set on `DEG`.

sin

  Computes the trigonometric sine. The units used are displayed on the second button down on the right column of buttons.

  #### sin

  When the display shows `90` and the units display shows `DEG` pressing sin will cause GNOME Calculator to display `1`.

cos

  Computes the trigonometric cosine, or compliment's sine. The units used are displayed on the second button down on the right column of buttons.

  #### cos

  When the display shows `60` and the units display shows `DEG`, pressing cos will cause GNOME Calculator to display `.5`.

tan

  Computes the trigonometric tangent.

  #### tan

  When the display shows `45` and the units display shows `DEG`, pressing tan will cause GNOME Calculator to display `1`.

DEG/RAD/GRAD

  Displays and changes the units of angle measure

e

  Uses the irrational number e for the next argument. The number displayed is not necessarily the same as used for calculations.

EE

  Multiplies the current display by 10 to the power of the next number entered.

  #### EE

  Clicking `8` and then EE and then `3` and then `=` would display `8000`.

log

  Calculates the logarithm base 10 of the display.

  #### log

  Entering `1000` and pressing log yields a result of `3`.

ln

  Calculates the natual logarithm (base e) of the display.

  #### ln

  Entering `403.4287935` and pressing ln causes GNOME Calculator to display `6`.

x^y

  Raises the number in the display to the power of the next number entered.

  #### x^y

  With `5` in the display, pressing x^y and then entering `3` will yield a result of `125`.

PI

  Enters the irrational number Pi into the display.

x!

  Calculates the factorial of the number in the display.

  #### x!

  Entering `7` in the display and pressing x! will cause GNOME Calculator to display `5040`.

()

  Parenthesis can be used to group operations, overriding the default order of operations for mathematics.

/*+-

  These buttons let you perform the basic arethemetic operations of division /, multiplication *, addition +, and subtraction -.

STO RCL

  The STO is used to store the display into the calculators memory.

RCL

  The RCL is used to recall the stored value from memory.

0 1 2 3 4 5 6 7 8 9

  These buttons are used to input the numeric characters 0 through 9, for use in calculations.

SUM

  Adds the displayed number to the number stored in GNOME Calculator's memory. This will act the same as the STO when the calculator's memory is empty, or zero.

EXC

  Swaps the values in the display an memory.

  #### EXC

  First, store `12` into memory. Then, enter `56`, and press EXC. You should now see `12` in the display. Press CE/C followed by RCL, and GNOME Calculator will display `12`.

.

  The . is used to delimit between whole numbers, and fractional, or decimal, numbers while using GNOME Calculator.

+/-

  The +/- is used to change the sign of the number displayed from positive to negative, or vice versa.

=

  The = is used to tell GNOME Calculator to perform the currently pending operations. This command can also be invoked using the Enter or Return key on the keyboard.

## Known Bugs and Limitations

I don't know of any bugs in this program. If you find some, please submit them using the instructions in .

## Authors

GNOME Calculator was written by George Lebl (jirka@5z.com). Please send all comments, suggestions, and bug reports to the GNOME bug tracking database. (Instructions for submitting bug reports can be found on-line.) If you are using GNOME 1.1 or later, you can also use Bug Report Tool (`bug-buddy`), available in the Utilities submenu of Main Menu, for submitting bug reports.

This manual was written by Gregory Leblanc (gleblanc@cu-portland.edu). Please send all comments and suggestions regarding this manual to the GNOME Documentation Project by sending an email to docs@gnome.org. You can also add your comments online by using the GNOME Documentation Status Table.

## License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is included as an appendix to the GNOME Users Guide. You may also obtain a copy of the GNU General Public License from the Free Software Foundation by visiting their Web site or by writing to

        Free Software Foundation, Inc.
        59 Temple Place - Suite 330
        Boston, MA 02111-1307
        USA