Answers are grounded in this paper and cite their sources.
Second-order ordinary differential equations (ODEs) are widely used to model dynamical systems. However, the numerical solution of second-order ODEs may be problematic when nonlinearities, oscillatory systems, stiffness, or highly varying solutions are encountered. In this study, an error-dependent adaptive modified Chebyshev spectral (ED-AMCS) solution method is formulated, and the numerical results are compared with those obtained using the explicit Euler and classical fourth-order Runge-Kutta (RK4) methods. The numerical method in the proposed ED-AMCS approach involves a modified Chebyshev polynomial approximation satisfying initial conditions exactly, complemented by a Chebyshev-Gauss-Lobatto collocation, spectral differentiation matrices, and a residual-dependent adaptive Newton iteration with damping and backtracking. Seven test IVPs are employed to evaluate the performance of the method, comprising nonlinear variable-coefficient, constant-coefficient, highly oscillatory, and nonlinear systems, as well as stiff and damped dynamics. Euler and RK4 methods are evaluated using \(h=0.1\) , 0.05, and 0.025, while polynomial degrees of \(N=10\) , 20, and 40 are used for ED-AMCS. Comparison is made of accuracy, convergence behaviour, maximum absolute error, discrete \(L₂\) norms, CPU, and numerical robustness on a common evaluation grid. RK4 consistently improves accuracy over Euler and provides a practical alternative when computational cost is a primary consideration, while ED-AMCS produces the lowest reported errors for all seven test problems, often approaching machine precision for sufficiently smooth solutions. The enhancements in accuracy demand additional CPU time for spectral matrix formation, nonlinear iterations, and solution of the collocation system. These results establish ED-AMCS as an extremely accurate method when high numerical accuracy is required, while RK4 compromises between accuracy and computational efficiency.
No takes yet. Share an insight, caveat, or question.
Workineh et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: