Summation - Definite.

版本 1.0.0 (1.3 KB) 作者: Miguel
Simple Definite Summation Script You can change the initial and final point to define your precision. You can then change the expression.
32.0 次下载
更新时间 2019/1/16

查看许可证

This script shows a simple Summation of ( 1/x ) between 1 and 2.

It is, in fact, a definite integral of 1/x analyzed between 1 and 2, by the method of exhaustion.

You can use this for summations.

Just change the ni and nf variables that are the initial and final points of n.

And then change the expression to be summed.

Compare the result of the original code with the numeric result of ln(2).

引用格式

Miguel (2024). Summation - Definite. (https://www.mathworks.com/matlabcentral/fileexchange/70013-summation-definite), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0