>> syms x
>> f=(1+x)^5-1.2
f =
(1+x)^5-6/5
>> solve(f,x)
ans =
[ 1/5*6^(1/5)*5^(4/5)-1]
[ 1/5*(1/4*5^(1/2)-1/4+1/4*i*2^(1/2)*(5+5^(1/2))^(1/2))*6^(1/5)*5^(4/5)-1]
[ 1/5*(-1/4*5^(1/2)-1/4+1/4*i*2^(1/2)*(5-5^(1/2))^(1/2))*6^(1/5)*5^(4/5)-1]
[ 1/5*(-1/4*5^(1/2)-1/4-1/4*i*2^(1/2)*(5-5^(1/2))^(1/2))*6^(1/5)*5^(4/5)-1]
[ 1/5*(1/4*5^(1/2)-1/4-1/4*i*2^(1/2)*(5+5^(1/2))^(1/2))*6^(1/5)*5^(4/5)-1]
>> double(S)
ans =
0.0371
-0.6795 + 0.9864i
-1.8391 + 0.6096i
-1.8391 - 0.6096i
-0.6795 - 0.9864i
温馨提示:答案为网友推荐,仅供参考