请用Matlab解一个超越方程。见图

2025-04-06 06:44:21
推荐回答(2个)
回答1:

x=2.156447870189
clc;clear
f=@(x) 1.5e-3*x^2*(cosh(656/17/x^2)-1)-14;
flag=0;
while (flag~=1)
    [x,~,flag]=fsolve(f,5*rand(1,1)+1);
end

回答2:

syms x;
x = solve('1.5e-3*x*x*(cosh(656*17/x/x-1))-14 = 0')
结果
x =

-95.400894661810509684178870089893