帮忙运行一下这段matlab代码,并把结果复制给我.身边没有电脑,又想知道结果.format longsum =exp(0)+exp(1);for i =0:3sum=sum+4*exp(0.125+0.25*i);endfor i = 1:3sum =sum+2*exp(0.25*i);endsum=sum/24

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 13:52:20
帮忙运行一下这段matlab代码,并把结果复制给我.身边没有电脑,又想知道结果.format longsum =exp(0)+exp(1);for i =0:3sum=sum+4*exp(0.125+0.25*i);endfor i = 1:3sum =sum+2*exp(0.25*i);endsum=sum/24
x){c3_baϓ Ovt?ٺ%9IOv/~QmϺlޜKzvl{{泎z/v~oM |>e닖:O;5o~>ziE@rҋKslS+ 4 4A5PV!S(i &Z`zFzFZ֩y)P ` `FPpEP3Ll)VQ0oa^)oBa>f0A ;a``~qAb((}Wr

帮忙运行一下这段matlab代码,并把结果复制给我.身边没有电脑,又想知道结果.format longsum =exp(0)+exp(1);for i =0:3sum=sum+4*exp(0.125+0.25*i);endfor i = 1:3sum =sum+2*exp(0.25*i);endsum=sum/24
帮忙运行一下这段matlab代码,并把结果复制给我.
身边没有电脑,又想知道结果.
format long
sum =exp(0)+exp(1);
for i =0:3
sum=sum+4*exp(0.125+0.25*i);
end
for i = 1:3
sum =sum+2*exp(0.25*i);
end
sum=sum/24

帮忙运行一下这段matlab代码,并把结果复制给我.身边没有电脑,又想知道结果.format longsum =exp(0)+exp(1);for i =0:3sum=sum+4*exp(0.125+0.25*i);endfor i = 1:3sum =sum+2*exp(0.25*i);endsum=sum/24
sum =
1.718284154699897