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
Details of the Predefined Rounding Rules
Description
The ScientificErrorAnalysis package has predefined rounding rules that are used by the `combine/errors` and ApplyRule functions. To define custom rules, use the AddRule function.
The following rounding rules are predefined in ScientificErrorAnalysis.
digits
This rule does not round the central value or uncertainty of a quantity-with-error. Use of this rule allows error analysis calculations to proceed at the current setting of Digits.
The rule digits is the initially defined default rule in ScientificErrorAnalysis. To set the default rule, use the UseRule function.
round[n]
This rule rounds the uncertainty of a quantity-with-error to n significant figures (if present), and rounds the central value to match (if necessary), that is, such that the place value of the least significant figure of the central value is the same as (or less than) that of the uncertainty.
with(ScientificErrorAnalysis):
e1 := Quantity( 1.2088, 0.563 );
ApplyRule( e1, round[2] );
round3g[n]
This rule rounds the uncertainty of a quantity-with-error to n or n+1 significant figures (if present), and rounds the central value to match (if necessary), that is, such that the place value of the least significant figure of the central value is the same as (or less than) that of the uncertainty.
If the most significant figure of the given uncertainty is three or greater, the uncertainty is rounded to n figures. If the most significant figure is less than three, the uncertainty is rounded to n+1 figures.
ApplyRule( e1, round3g[1] );
e4 := Quantity( 1.2088, 0.263 );
ApplyRule( e4, round3g[1] );
round_cv
This rule does not modify the uncertainty of a quantity-with-error, but rounds the central value to match, that is, such that the place value of the least significant figure of the central value is the same as (or less than) that of the uncertainty.
ApplyRule( e1, round_cv );
implicitize
This rule rounds the central value of a quantity-with-error to the significant figures that remain unchanged over the interval of the central value plus or minus the uncertainty. The uncertainty is set to zero. In other words, the central value is rounded to its reliable figures, assuming the usual 68 percent confidence interval and normal distribution.
ApplyRule( e1, implicitize );
In the above example, ApplyRule constructed a new Quantity object with zero uncertainty, which automatically simplifies to the central value.
See Also
combine/errors, Digits, ScientificErrorAnalysis, ScientificErrorAnalysis[AddRule], ScientificErrorAnalysis[ApplyRule], ScientificErrorAnalysis[GetRules], ScientificErrorAnalysis[HasRule], ScientificErrorAnalysis[Quantity], ScientificErrorAnalysis[UseRule], ScientificErrorAnalysis[UsingRule]
Download Help Document