Projection: the program tries to find the intersection between the surface and each partition by moving the first guessed point toward the surface. This progress performs iteratively until the point lies in a position that absolute result of equation comes less than precision value or maximum iteration occur. Generally the projection method is faster and can produce acceptable result using less iteration. This method uses the first derivative of function that it’s not always easy to calculate therefore it may product some artifact or unacceptable result.
Subdivision: the program subdivides the area between each couple of partitions in two different sub-partitions. Then it checks each sub partition and determines which one could possibly contain the root. The algorithm takes the result as argument and the progress runs until the function returns a value less than precision amount or number of subdivision exceed the iteration parameter.
Precision: controls the level of accuracy. In fact the those points in space that return the value less than precision value will be considered as root of the equation.
Note: program convert the integer value of precision parameter into a decimal value by considering it as power of 0.1. For instance precision 3 means the accuracy is:
0.1^3 = 0.0001
Iteration: controls how many times the program should redo the root finding progress to achieve the desirable level of accuracy. If the precision meet the criteria before it reaches maximum iteration the rest stages will ignore. |