Simpson's 3/8 rule (Composite)
Versión 1.0.3 (1,4 KB) por
Dr. Manotosh Mandal
Matlab codes for Simpson's three eight rule (Composite) for numerical integration.
For details of the method and also coding watch the lecture: https://youtu.be/rtxAWwlS5iY
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>>
Citar como
Dr. Manotosh Mandal (2024). Simpson's 3/8 rule (Composite) (https://www.mathworks.com/matlabcentral/fileexchange/72562-simpson-s-3-8-rule-composite), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Numerical Integration and Differential Equations en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.3 | For details of the method and also coding watch the lecture: https://youtu.be/rtxAWwlS5iY |
||
1.0.2 | More examples. |
||
1.0.0 |