用matlab求表达式的值,z=(2sin1)/(1+e²)
1个回答
关注
展开全部
e^x为exp(x)1.z=2*sind(85)/(1+exp(2))
z =
0.23752.>> a=[-3.0:0.1:3.0],z=(exp(0.3*a)-exp(0.2*a)).*sin(a+0.3)/21
a =
Columns 1 through 11
-3 -2.9 -2.8 -2.7 -2.6 -2.5 -2.4 -2.3 -2.2 -2.1 -2
Columns 12 through 22
-1.9 -1.8 -1.7 -1.6 -1.5 -1.4 -1.3 -1.2 -1.1 -1 -0.9
Columns 23 through 33
-0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2
Columns 34 through 44
0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3
Colu
咨询记录 · 回答于2022-03-02
用matlab求表达式的值,z=(2sin1)/(1+e²)
e^x为exp(x)1.z=2*sind(85)/(1+exp(2))z =0.23752.>> a=[-3.0:0.1:3.0],z=(exp(0.3*a)-exp(0.2*a)).*sin(a+0.3)/21a =Columns 1 through 11-3 -2.9 -2.8 -2.7 -2.6 -2.5 -2.4 -2.3 -2.2 -2.1 -2Columns 12 through 22-1.9 -1.8 -1.7 -1.6 -1.5 -1.4 -1.3 -1.2 -1.1 -1 -0.9Columns 23 through 33-0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2Columns 34 through 440.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3Colu
Columns 34 through 440.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3Columns 45 through 551.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4Columns 56 through 612.5 2.6 2.7 2.8 2.9 3z =Columns 1 through 110.0028948 0.0034599 0.0039755 0.0044352 0.0048334 0.0051653 0.0054272 0.0056163 0.0057312 0.0057714 0.0057379Columns 12 through 22
0.0056326 0.0054591 0.0052217 0.0049263 0.0045799 0.0041902 0.0037664 0.003318 0.0028556 0.0023901 0.001933Columns 23 through 330.0014957 0.0010899 0.00072684 0.00041748 0.00017207 -2.2072e-019 -9.0444e-005 -9.2269e-005 0 0.00019013 0.00048001Columns 34 through 440.00086949 0.0013562 0.0019356 0.0026007 0.003342 0.0041479 0.005004 0.005894 0.0067992 0.0076988 0.0085702
Columns 45 through 550.0093893 0.01013 0.010767 0.011273 0.01162 0.01178 0.011729 0.011439 0.010889 0.010056 0.0089212Columns 56 through 610.0074699 0.0056901 0.0035744 0.0011201 -0.0016703 -0.0047886
已赞过
评论
收起
你对这个回答的评价是?