用matlab解带有字符的二元一次方程>> syms A B a b x;>> [A,B]=solve('a*cos(x)=2*A*x+B','2*A*asin(2*A/b)+B=(-b)*sqrt(1-(2*A/b)^2)');Warning:Explicit solution could not be found.

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/29 17:33:06
用matlab解带有字符的二元一次方程>> syms A B a b x;>> [A,B]=solve('a*cos(x)=2*A*x+B','2*A*asin(2*A/b)+B=(-b)*sqrt(1-(2*A/b)^2)');Warning:Explicit solution could not be found.
xՑNP_zR&m30 ;@ $.$R1<"qn2p\U tw _;=z5vǾ[Ey â D (-yS/IBIV(>Mt%! dSH x2P_ȵwv'MTfS.iQ1 jVZT]Y\MzY˥8ĮuLhjnXC;[}3Fỗ=OԝCkQl>tmc[]\F 9>b|+q;?khNbTP⑨Gx}Sc̱!k5_p

用matlab解带有字符的二元一次方程>> syms A B a b x;>> [A,B]=solve('a*cos(x)=2*A*x+B','2*A*asin(2*A/b)+B=(-b)*sqrt(1-(2*A/b)^2)');Warning:Explicit solution could not be found.
用matlab解带有字符的二元一次方程
>> syms A B a b x;
>> [A,B]=solve('a*cos(x)=2*A*x+B','2*A*asin(2*A/b)+B=(-b)*sqrt(1-(2*A/b)^2)');
Warning:Explicit solution could not be found.

用matlab解带有字符的二元一次方程>> syms A B a b x;>> [A,B]=solve('a*cos(x)=2*A*x+B','2*A*asin(2*A/b)+B=(-b)*sqrt(1-(2*A/b)^2)');Warning:Explicit solution could not be found.
这个方程就是解不了,无法得到显式解
可以将第一式变形后得到B=a*cos(x)-2*A*x,带入第二式,会得到一个关于A的超越方程.然后数值求解这个超越方程就可以了