appScience software

disclaimer

fc31024

Creating constants

A constant is a number that you may use often. It can be represented by a name and saved. Two built-in constants are pi and i. You use these in any expressions. Constants can also be used in functions that you define.

To create your own constants, press the Constants button, select the User section and then select new. A popover window appears where you type the name of your constant, its value and a description of it. Select keep for next time to make the constant available next time you open formula calculator. Press the x button to delete it.

To close the popover, click another button or click in the math input text field.

You can use any name for a constant, consisting of alphanumeric characters. But the name must be unique and cannot begin with a number. Note that formula calculator distinguishes between lower and upper case letters.

Formula calculator allows you to export your constants to a file and read them in again later. This is useful if you wish to share the constants you have created. The exported files have the ucmth extension.

To export your constants, select Export...> User constants from the File menu. Note that you must have checked the keep for next time box (see To create your own constants above).

To import your constants, select Import...> User constants from the File menu. If a constant name already exists you have the option of overwriting it with the imported constant. The constants are imported to all open calculators.

List of Physical Constants: formula calculator has a list of commonly used physical constants.

To view the physical constants list:select Tools>Physical constants from the main menu. Select the description and the value of the constant appears at the bottom of the list. You can switch between SI units and cgs units.

To copy the physical constant to the popover : open the Physical constants window and select the desired constant to display its value. Click in the popover text box where you would type the value of the constant. In the Physical constants window, click the small triangle button at the bottom right, next to the units button. The value is automatically transferred to the popover text.

To copy the physical constant to the math text: open the Physical constants window and select the desired constant to display its value. Click in the math text window to place the cursor where you want the value of the constant. In the Physical constants window, click the small triangle button at the bottom right, next to the units button. The value is automatically transferred to the math text.