matlab 求极限lim(1+1/2+1/3+1/4+……+1/n-lnn),n->无穷

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 14:48:35
matlab 求极限lim(1+1/2+1/3+1/4+……+1/n-lnn),n->无穷
x)M,ILRxټƗ3'djj1h?jXD@fnN^Nݳ nT,H!v6;ή2XB!ϱY)_Sc2B'3/MZJ-I-JOMPV12M+5357724533404560303/.H̳ Ap

matlab 求极限lim(1+1/2+1/3+1/4+……+1/n-lnn),n->无穷
matlab 求极限
lim(1+1/2+1/3+1/4+……+1/n-lnn),n->无穷

matlab 求极限lim(1+1/2+1/3+1/4+……+1/n-lnn),n->无穷
>>syms x n;
>>sol=limit(symsum(1/x,x,1,n)-log(n),n,inf)
sol =
eulergamma
>> vpa(sol,20)
ans =
0.57721566490153286061