【求助】解方程tan求角度,解不出来。
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
华纳_全真人实景娱乐【微8785092】
il 19 Mag 2023
Risposto: 华纳_全真人实景娱乐【微8785092】
il 19 Mag 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 Commenti
Risposta accettata
华纳_全真人实景娱乐【微8785092】
il 19 Mag 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Numbers and Precision in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!