【求助】解方程tan求角度,解不出来。

3 views (last 30 days)
syms x L3 T L5
solve((L3-T)/(L5+tan(x)*T)==tan(x*2),x);
L3 T L5 都是常量,唯有x是变量
运行后,结果如下:
>>fangcheng
>>
没有报错,也没有解
在实际工作中,将x赋于正确的值,应该是有解的,但是用MATLAB就是找不到表达式
请各位学长帮助

Accepted Answer

华纳_全真人实景娱乐【微8785092】
直接在命令窗口。
syms x L3 T L5
solve((L3-T)/(L5+tan(x)*T)-tan(x*2),x) %你那里加了分号“;”不显示。
ans =
-atan((L5 - (L3^2 + L5^2 - T^2)^(1/2))/(L3 + T))
-atan((L5 + (L3^2 + L5^2 - T^2)^(1/2))/(L3 + T))

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!