MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]matlab解个简单的不等式!谢谢各位啦 (https://www.labfans.com/bbs/showthread.php?t=1338)

lilywhite520 2008-01-29 09:25

[求助]matlab解个简单的不等式!谢谢各位啦
 
ln(n!)-n*ln(n)+n<0.02.求解。。。谢谢各位。。

huangboat 2008-03-05 11:42

可以简单证明,这个差是成对数增加的
用程序看也是:
clc
clear
for i=1:100
x(i)=hun(i);
end
n=1:100;
plot(n,x)

function h=hun(n)
w=ones(1,n);
for i=1:n
w(i)=log(i);
end
h=sum(w)-n*log(n)+n;


所有时间均为北京时间。现在的时间是 11:29

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.