{'fraction_non_alphanumeric': 0.015873015873015872, 'fraction_numerical': 0.0026455026455026454, 'mean_word_length': 5.47008547008547, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
LEGENDRE COLLOCATION METHOD FOR SOLVING NONLINEAR DIFFERENTIAL EQUATIONS

In this study, a matrix method based on Legendre collocation points on interval [-1,1] is proposed for the approximate solution of the some first order nonlinear ordinary differential equations with the mixed conditions in terms of Legendre polynomials. The method by means of Legendre collocation points, transforms the differential equation to a matrix equation which corresponds to a system of nonlinear algebraic equations with unknown Legendre coefficients. Also, the method can be used for solving Riccati equation. The numerical results show the effectuality of the method for this type of equations. Comparisons are made between the obtained solution and the exact solution.