【求助】解方程tan求角度,解不出来。
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
华纳_全真人实景娱乐【微8785092】
le 19 Mai 2023
Réponse apportée : 华纳_全真人实景娱乐【微8785092】
le 19 Mai 2023
syms x L3 T L5
solve((L3-T)/(L5+tan(x)*T)==tan(x*2),x);
L3 T L5 都是常量,唯有x是变量
运行后,结果如下:
>>fangcheng
>>
没有报错,也没有解
在实际工作中,将x赋于正确的值,应该是有解的,但是用MATLAB就是找不到表达式
请各位学长帮助
0 commentaires
Réponse acceptée
华纳_全真人实景娱乐【微8785092】
le 19 Mai 2023
直接在命令窗口。
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))
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Numbers and Precision dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!