Composite Simpsons method for numeric integration
COMPOSITE SIMPSON's method for numerical calculations and analysis exercises of Numeric Integration. f function is given in terms of a symbolic variable x and as an
inline function. E.g., inline('x^2+2*x-2'). Also, if the function f is trigonometric function, the 4th argument can be entered as
'trigonom' or just 'trig' or 1. X is expected to be in degrees for trigonometric function evaluations. The number of steps NSTEPS has
to be even. upl and lowl are upper and lower limits. NB: A sequential order of limits is unnecessary to follow, 'if' conditions will take care of lower and upper limits accordingly.
Citation pour cette source
Sulaymon Eshkabilov (2024). Composite Simpsons method for numeric integration (https://www.mathworks.com/matlabcentral/fileexchange/42483-composite-simpsons-method-for-numeric-integration), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |