 ScientificErrorAnalysis - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : Packages : ScientificErrorAnalysis

Overview of the ScientificErrorAnalysis Package Basic Functionality

 • The ScientificErrorAnalysis package provides representation and construction of numerical quantities that have a central value and associated uncertainty or error, which is some measure of the degree of precision to which the quantity's value is known.  Various Accessing ScientificErrorAnalysis Package Commands

 • Each command in the ScientificErrorAnalysis package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
 Long form
 > ScientificErrorAnalysis[Quantity](20., 1.);
 Short form
 > with(ScientificErrorAnalysis):
 > Quantity(20., 1.); Essential ScientificErrorAnalysis Package Commands

 • The essential ScientificErrorAnalysis commands used for error assignment and computation are:

 combine quantities-with-error in an expression return the covariance between two quantities-with-error return the correlation between two quantities-with-error return the uncertainty of a quantity-with-error return the central value of a quantity-with-error construct a quantity-with-error set the value of the correlation between two quantities-with-error return the variance of a quantity-with-error

 To display the help page for a particular command, click the corresponding hyperlink.
 • For more details on these commands and their use together, see Details of ScientificErrorAnalysis. Rounding Rules

 • The ScientificErrorAnalysis commands used to apply and create rounding rules are:

 add a new rounding rule apply a rounding rule to Quantity objects return the procedure of a rounding rule return the names of available rounding rules determine whether a symbol is the name of an available rounding rule set the default rounding rule return the name of the default rounding rule

 To display the help page for a particular command, click the corresponding hyperlink.
 • For more details on applying rules, see Details of ScientificErrorAnalysis.
 For details on the predefined rules, see Details of the Predefined Rounding Rules. Quantity-with-Error Structures

 • The ScientificErrorAnalysis commands for maintaining quantity-with-error structures are:

 add the interface of a new quantity-with-error structure return the interface of an available quantity-with-error structure return the types of all available quantity-with-error structures

 To display the help page for a particular command, click the corresponding hyperlink. Details

 • The ScientificErrorAnalysis package does not perform interval arithmetic.  That is, the error value of an object in the ScientificErrorAnalysis package does not represent an interval in which possible values must be contained. For information on interval arithmetic, see the Tolerances package.
 • ScientificErrorAnalysis also recognizes the objects of the ScientificConstants package, many values of which have an associated uncertainty.
 • For a discussion of how the ScientificErrorAnalysis and ScientificConstants packages interact, see ScientificErrorAnalysis and ScientificConstants.
 • For examples using the ScientificErrorAnalysis package, see the ScientificErrorAnalysis Example Worksheet. Examples

 > $\mathrm{with}\left(\mathrm{ScientificErrorAnalysis}\right):$
 > $x≔\mathrm{Quantity}\left(2.3,0.1,\mathrm{relative}\right)$
 ${x}{≔}{\mathrm{Quantity}}{}\left({2.3}{,}{0.23}\right)$ (1)
 > $y≔\mathrm{Quantity}\left(9.5,0.2,\mathrm{relative}\right)$
 ${y}{≔}{\mathrm{Quantity}}{}\left({9.5}{,}{1.90}\right)$ (2)
 > $\mathrm{SetCorrelation}\left(x,y,0.2\right)$
 > $\mathrm{combine}\left(\frac{{x}^{3}-y}{y},\mathrm{errors}\right)$
 ${\mathrm{Quantity}}{}\left({0.2807368421}{,}{0.4169777056}\right)$ (3)
 > $\mathrm{ApplyRule}\left(,\mathrm{round}\left[2\right]\right)$
 ${\mathrm{Quantity}}{}\left({0.28}{,}{0.42}\right)$ (4)
 > $\mathrm{combine}\left(\frac{{x}^{2}+y}{y},\mathrm{errors},\mathrm{correlations}=\mathrm{false}\right)$
 ${\mathrm{Quantity}}{}\left({1.556842105}{,}{0.1574987314}\right)$ (5)