User:Adamarjo/sandbox/Precision Control

Methods Controlling Precision on the Result of Mathematical Expressions and Functions edit

By Ahmad Adam Arjomandi edit

Description of the problem edit

This article is about controlling the precision of results of functions in big projects done by many groups Engineering, Math and Science with the desired number of decimal points before handing the projects or sharing with the groups. The result of the calculations of the same project done two groups or more project matched with the number or number decimals or their value the result is not correct.

The following is the general form of Polynomials:

  edit


Example 1 edit

 

According to the above definition the form for a one variable polygon is   where is the variable in the polygon.

Presenting one Variable Polygons as a Number edit

Lets use a one variable polygon and show how present as a number.

Example 2 edit

The number 7650 in base 10 is calculated by  

The one variable Polygon   a number is base  .

this is if we assume the terms are sorted descending by the powers of   and if   the digit at position   will be zero also.

Examples 3 edit

 

  If a coefficient is no integer or symbols or negative is shown inside parentheses.

Lets give you some practical examples:

Example 4 edit

  is a function to calculate the circumference of a circle with variable radius is a one variable polygon with one term is equivalent to   a two digit number in Base R.

Example 5 edit

  is a function to calculate the area of circle with variable R the radius is equivalent to  

Example 6 edit

 is function to calculate the volume of a sphere with Radius R is equivalent to  

Example 7 edit

Find the total volume of an Sphere with Radius R and Disk with height one unit and a Ring made of rod with square and thickness one unit.

  edit
Theorem edit

A one variable polygon P presented as   as a number presented as  

Proof

Is trivial. Consider the polygon   name the coefficient in the reverse order.

Theorem edit

If we multiplicity or divide a polygon by a number this the same as we multiply or divide all digit of the polygon.

Proof:

Consider   if we multiply both side by a number n then the result is   or  

Where an-1 the most and a 0 are the most and least significant digits.

Example 8 edit

Consider example 7 the total volume  if we multiply both side by   we get  

Theorem edit

The operation add, subtract, multiply and divide can be applied to the numbers derived from a one variable polygon P(x).

Proof:

Consider two polygons

 =

 

 

Completes the proof. For addition, subtraction and multiplication the proof is similar.



External links edit