My First Attempt
The user has to modify the function to be integrated in a file named eval1.m enclosed in the same directory & invoke romberg() from MATLAB terminal.
The output is in the form of two values :
1. Approximate Integration Value.
2. Error from the actual value supplied by user.
Initially, the user can give known functions & through error can check for correctness & accuracy limits. Then with few modifications can use the function to evaluate integration of various functions, numerically.
I DON'T CLAIM ANY COPYRIGHT ABOUT THE METHOD OR THE PROGRAM SUBMITTED HERE.
Cite As
Avinash Bhat (2024). My First Attempt (https://www.mathworks.com/matlabcentral/fileexchange/26732-my-first-attempt), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: lagrange interpolation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |