计算n=1:21时,x积分范围是(0,1)时,1/(n+x)的积分结果.
问题描述:
计算n=1:21时,x积分范围是(0,1)时,1/(n+x)的积分结果.
matlab
答
n=[1:21];syms xf=1./(n+x);int(f,0,1)积分结果:[ log(2), log(3)-log(2), log(4)-log(3), log(5)-log(4), log(6)-log(5), log(7)-log(6), log(8)-log(7), log(9)-log(8),log(10)-log(9), log(11)-l...