Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
combine/errors - combine quantities-with-error in an expression
Calling Sequence
combine( expr, errors, opts )
Parameters
expr
-
expression containing quantities-with-error
opts
(optional) equation(s) of the form option=value, where option is one of 'rule' or 'correlations'; determine behavior
Description
The combine( expr, errors, opts ) command combines quantities-with-error in a mathematical expression, or in other words, propagates the errors through an expression.
The opts argument can contain one or more of the following equations that determine the behavior:
'rule' = name
If the optional parameter rule=name is given, the rounding rule name is applied to the result of combine. Otherwise, the default rounding rule is used ('digits', or as set by ScientificErrorAnalysis[UseRule]).
'correlations' = true or false
If 'correlations'=true, combine/errors uses correlations defined between the quantities-with-error combined. The default value of 'correlations' is true. If 'correlations'=false, combine/errors ignores any correlations defined between the quantities-with-error.
If no correlations have been directly defined between the quantities-with-error in expr (using ScientificErrorAnalysis[SetCorrelation]), 'correlations'=false does not produce a result different from the default.
'correlations'=false has no effect on further induced error analysis calculations. That is, when combine/errors requires the variance of a quantity-with-error with functional dependence, that calculation is performed using correlations.
The result of combine/errors is a quantity-with-error returned in a Quantity object.
The uncertainty is calculated using the usual formula of error analysis involving a first-order expansion with the variances of the quantities-with-error.
The error in , where is a function of variables , is
where is the error in , and the partials are evaluated at the central values of the .
When correlations are included, the formula also involves the covariances between the quantities-with-error.
The covariance can be expressed in terms of the correlation and errors , as:
where and are the errors in and .
ScientificErrorAnalysis[Variance] and ScientificErrorAnalysis[Covariance] are used to calculate the variances and covariances of the quantities-with-error. Thus, any quantity-with-error combined can have functional dependence on other quantities-with-error.
Examples
See Also
combine, Overview of ScientificErrorAnalysis, Rounding rules, ScientificConstants, ScientificConstants[Constant], ScientificErrorAnalysis, ScientificErrorAnalysis and ScientificConstants, ScientificErrorAnalysis[Covariance], ScientificErrorAnalysis[GetCorrelation], ScientificErrorAnalysis[Quantity], ScientificErrorAnalysis[SetCorrelation], ScientificErrorAnalysis[UseRule], ScientificErrorAnalysis[UsingRule], ScientificErrorAnalysis[Variance]
Download Help Document