Checking for errors in calculations and software: Dimensional balance and conformance of units |
| |
Authors: | Scott Ferson |
| |
Affiliation: | Applied Biomathematics , 700 North Country Road, Setauket, New York, 11733 Phone: 631–751–4350 Fax: 631–751–4350 E-mail: scott@ramas.com. |
| |
Abstract: | Although there has always been a general awareness that mathematical expressions must make dimensional sense in terms of the units involved, it is very easy to make simple mistakes in quantitative work that result in profound and potentially dangerous errors. Such errors are ubiquitous in modern research, as can be seen by reviewing government publications where dimensional errors persist despite peer and public review. Software methods have recently become available for checking calculations, equations, algorithms and programs for dimensional soundness. Correctness depends on conformance at two levels: balance of dimensions and agreement among units. Error at either level can now be detected automatically by software. Disagreement among units can even be automatically corrected by software procedures. These software tools can be used to check for errors in calculations and software source code in a way that is similar to using a spelling or grammar checker for text. |
| |
Keywords: | Dimensional analysis agreement of units quality assurance for calculations and algorithms |
|
|