Make your own free website on

Listing of All Errors in GasLaws X

Below is a listing of all errors that occur in GasLaws X, also referenced are the events that create them.

Error #1

Error # 1 results when you did not fill enough fields with data.  This is a fairly simple error that occurs when one or more primary fields (fields where you input data) is empty.  This error event allows the program to constructively handle an error that would crash the program.  To make sure this error does not occur, make sure all input fields are filled with data.


Error #2

Error #2 is a result of an input of a negative temperature value.  This event is in response to ensure that all data entered is in Kelvins.  Or it could be that you entered a Kelvin value that simply does not exist.  This will cause no calculation errors, but it will cause logical errors, such as giving negative pressure or negative volumes, which do not exist.  To correct this, make sure that all the temperature values are positive and are in Kelvins.  To convert Celsius values to Kelvin values, use the built in converter.


Error #3

Error #3 is caused because some value entered caused the denominator to be a zero value.  This could be caused by a missing decimal place, a non-Kelvin temperature value.  In mathematics, dividing by zero is undefined, and so it is in science and all programming languages.  Make sure that all values entered are non-zero.


Error #4

Error #4 is caused by entering a negative volume or pressure value.  There is no such thing as a negative volume or negative pressure.  Negative volume is in violation of the Law of Conservation of matter and energy, and negative pressure never occurs, because there is always some matter exerting force to create pressure, even in space.


Error #5

Error #5 is caused by some value that is entered being zero.  Again this is in violation of the Law of Conservation of Matter and Energy and/or not taking into account that absolute value is not reachable, only approachable.  Make sure that all values entered are non-zero.


Copyright 2001, James P. Hansen