4. Numerical experiments
In this section, different numerical experiments are performed in order to analyze the behavior of the proposed scheme. As discussed in the previous section, we consider Newton’s method (denoted by ), Ostrowski’s scheme (denoted by ), Jarratt’s method (denoted by ), Cordero et al. method (denoted by ) modified by applying the second step of our proposal. We compare the results obtained from these modified methods with the known schemes for finding simultaneous roots given by Mir et al. (denoted by , , ), Shams (denoted by ) and Petkovic et al. (denoted by ). The iterative expressions of these schemes for finding all roots simultaneously are:
Mir et al. scheme [
15],
:
Mir et al. scheme [
16],
:
Mir et al. scheme [
16],
:
Shams et al. scheme [
17],
:
Petkovic et al. scheme [
2],
:
In the Mir et al. scheme and Shames et al. scheme, we consider the value of
. The outcomes of the experiments have been completed in Mathematica version 11.1 software. We choose
as stopping criterion, with a tolerance,
, where
The norm of the distance between two approximations is given by
and the approximated computational order of convergence (ACOC), [
18], which is an estimation of the theoretical order of convergence
whose expression is
Example 1.
Consider the polynomial
whose exact roots are
The initial approximation has been taken as:
Table 1 represents the results obtained from the different iterative methods. We can observed that the proposed methods , , and have less absolute error than other methods and are faster than existing schemes.
Example 2.
In this example, let us consider the polynomial
with the exact roots
.
The initial approximations we have taken are:
Table 2 represents the results obtained from different iterative methods, observing that the number of iterations in most of the proposed method is less than the number of iterations of the known schemes. We can observe that and obtain the best results as compared to existing schemes.
Example 3.
Consider the polynomial of degree seven
with exact roots
The initial approximations taken are:
Table 3 represents the results obtained from the different iterative methods used until now.
Example 4.
Now, let us consider the polynomial
whose exact roots are
In this example, we take as initial approximations:
In Table 4 we can observe the results for this example. Some proposed methods show much better results than the other ones.
Example 5.
In this example, we consider
whose roots are
In this case, we use the initial approximations:
Based on the results obtained, shown in Table 5, it is clear that proposed methods are, in general, faster than the existing ones.
Example 6.
To show the real life problems of nonlinear equations, we apply the proposed methods, for Classical Dynamics of Blocks on an inclined planes [19]. The role of eigenvalue/eigenvector pairs is presented here. It is shown that the lower frequencies of eigenvalue/eigenvector pairs dominant the solution of this system. The dynamical problem is to determine block acceleration and cable tensions , and just after the system is released from rest. The fourth order matrix from Newton’s laws are given by:
The following numerical values are used:
-
Block & Pulley Weights:
Surface coefficient of friction μ = 0.2,
-
Pulley Mass Moment of Inertia
with KB = 0.67, KP = 0.25.
The dimensionless numerical matrix A is as follows:
The characteristic equation of matrix A is given by:
whose roots are
ζ1 ≈ − 1.153605 + 1.215626ι, ζ2 ≈ − 1.153605 − 1.215626ι, ζ3 ≈ 0.4036065 + 0.7489738ι, ζ4 ≈ 0.4036065 − 0.7489738ι.
The initial approximation used are:
The results obtained by the different methods appear in Table 6. The characteristics of these numerical results are similar to those in the other examples.
Example 7.
In this example, we apply the proposed methods for a mechanism composed of a block and disc connected by a pulley system [19]. The role of eigenvalue/eigenvector pairs is shown that the lower frequencies of eigenvalue/eigenvector pairs dominant the solution of this system. The dynamical problem is to determine block acceleration and disc acceleration disc friction force , cable tensions , , and just after the system is released from rest. The seventh order matrix from Newton’s laws are given by:
The following numerical values are used:
Disk & Block Masses: , ,
Pulley Masses: ,
Disk Mass Moment of Inertia: ,
Pulleys Mass Moment of Inertia: ,
External Torque: .
The dimensionless numerical matrix A is as follows:
The characteristic equation of matrix A is given by
whose roots are
The initial approximation has been taken as:
The obtained numerical results for this example appear in Table 7.
In the last table, we show the number of iterations needed in each example for satisfying the stopping criterion.
Table 8.
Comparison of the number of iterations with different examples and methods.
Table 8.
Comparison of the number of iterations with different examples and methods.
| Method |
|
|
|
|
|
|
|
Total NI |
Average NI |
|
5 |
5 |
6 |
5 |
5 |
5 |
6 |
37 |
5.29 |
|
5 |
5 |
6 |
5 |
5 |
5 |
6 |
37 |
5.29 |
|
7 |
7 |
7 |
7 |
6 |
8 |
9 |
51 |
7.29 |
|
7 |
6 |
7 |
6 |
6 |
7 |
7 |
46 |
6.57 |
|
6 |
5 |
6 |
5 |
5 |
6 |
8 |
41 |
5.86 |
|
6 |
6 |
6 |
6 |
6 |
7 |
8 |
45 |
6.43 |
|
9 |
8 |
8 |
8 |
7 |
10 |
11 |
61 |
8.71 |
|
6 |
6 |
7 |
6 |
6 |
7 |
9 |
47 |
6.71 |
|
5 |
5 |
5 |
5 |
4 |
5 |
7 |
36 |
5.14 |