Research Article

A Numerical Method for Lane-Emden Equations Using Hybrid Functions and the Collocation Method

Table 2

Absolute error of Example 5.3′s exact and approximated solution.

Approximated solutionExact solutionAbsolute error

0000
0.1−1.990065975846963e−002−1.990066170633618e−0021.947866552082234e−009
0.2−7.844142227675365e−002−7.844142630656266e−0024.029809014260977e−009
0.3−1.723553877014332e−001−1.723553924821048e−0014.780671636339662e−009
0.42.968400304512400e−001−2.968400102365468e−0012.021469319712921e−008
0.5−4.462871382464894e−001−4.462871026284195e−0013.561806982688154e−008
0.6−6.149693761315079e−001−6.149693994959211e−0012.336441318195881e−008
0.7−7.975522016254086e−001−7.975522399147356e−0013.828932693128451e−008
0.8−9.893925027250091e−001−9.893924836722143e−0011.905279478631172e−008
0.9−1.186653691831187e+000−1.186653690555469e+0001.275718419790906e−009
1.0−1.386294358347456e+000−1.386294361119891e+0002.772434948283831e−009