Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
a)
Here, the possibility of nearly equal subtraction will occur when . And then it is only possible when . Considering machine epsilon for 64-bit double precision format the maximum value of for which subtractive cancelation will occur is numerically equal to . To solve this situation we can change the form of the expression such as to convert the subtraction into addition. We can do this in following manner:
b)
Here, the possibility of subtractive cancelation will occur when . Then the limiting value for possible x to create subtractive calculation will be 1 . To solve this situation we can change the form of the expression such as to convert the subtraction into addition. We can do this in following manner: ( )
c)
Here, the possibility of subtractive cancelation will occur when . Then the limiting value for possible x to create subtractive calculation will be 1 . To solve this situation we can change the form of the expression such as to convert the subtraction into addition. We can do this in following manner:
2
To find the root of the equation: The above is a quadratic equation. And we are all familiar with the root of the equation is,
. . . . . . . . . . .(i)
x )
))
(
(
(
Here, a=1, b=-5000.002, c=10
) . . . . . . . . . (ii)