ScientificErrorAnalysis - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Scientific Error Analysis : Commands : ScientificErrorAnalysis/Variance

ScientificErrorAnalysis

  

Variance

  

return the variance of a quantity-with-error

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Variance( obj )

Parameters

obj

-

quantity-with-error

Description

• 

The Variance( obj ) command returns the variance of the quantity-with-error obj.

• 

The quantity-with-error obj can have functional dependence on other quantities-with-error.

  

If the quantity-with-error obj does not have functional dependence on other quantities-with-error, the uncertainty of obj is accessed and converted to the variance (by squaring).

  

If the quantity-with-error obj has functional dependence on other quantities-with-error, the variance is calculated using the usual formula of error analysis involving a first-order expansion with the dependent form and covariances between the other quantities-with-error. This process can be recursive.

  

The variance u2y in y, where y depends on the xi, is

  

 

uy2=i=1Nxiy2uxi2+2i=1N1j=i+1Nxiyxjyuxi,xj

  

where uxi is the error in xi, uxi,xj is the covariance between xi and xj, and the partials are evaluated at the central values of the xi.

• 

Variances involving physical constants are calculated naturally and correctly in the implied system of units because central values and errors are obtained from the interface to ScientificConstants.

Examples

withScientificConstants:

withScientificErrorAnalysis:

aQuantity10.,2.:

Variancea

4.

(1)

GetConstanth

Planck_constant,symbol=h,value=6.6260687610-34,uncertainty=5.210-41,units=Js

(2)

VarianceConstanth

2.70410-81

(3)

GetConstantme

electron_mass,symbol=me,derive=2R∞hcα2

(4)

VarianceConstantme

5.15412261910-75

(5)

GetErrorConstantme2

5.15412261810-75

(6)

See Also

combine/errors

ScientificConstants

ScientificConstants[Constant]

ScientificConstants[GetConstant]

ScientificConstants[GetError]

ScientificErrorAnalysis

ScientificErrorAnalysis and ScientificConstants

ScientificErrorAnalysis[Covariance]

ScientificErrorAnalysis[GetCorrelation]

ScientificErrorAnalysis[Quantity]

ScientificErrorAnalysis[SetCorrelation]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam