Simpson's 1/3 rule (Composite)
Version 1.2.0 (1,38 ko) par
Dr. Manotosh Mandal
Matlab codes for Composite Simpson's one third rule of numerical integration
For details of the method and also coding watch the lecture: https://youtu.be/-Zt_epiR4eY
Example:
Enter the function f(x): inline('1/(1+x)')
Enter lower limit a: 1
Enter upper limit b: 2
Enter the number of sub-intervals n: 12
The value of integration is 0.405465>>
Citation pour cette source
Dr. Manotosh Mandal (2024). Simpson's 1/3 rule (Composite) (https://www.mathworks.com/matlabcentral/fileexchange/72526-simpson-s-1-3-rule-composite), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2019a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Numerical Integration and Differential Equations dans Help Center et MATLAB Answers
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.2.0 | For details of the method and also coding watch the lecture: https://youtu.be/-Zt_epiR4eY |
||
1.1.4 | More examples. |
||
1.1.3 | Composite Simpson's one third rule of numerical integration with example. |
||
1.1.2 | Composite Simpson's one third rule of numerical integration with example. |
||
1.1.01 | Composite Simpson's one third rule with example. |
||
1.1.0 | Composite Simpson's one third rule |
||
1.0.0 |