When I try to solve this equation, this message appears, how can I solve this problem?
1 次查看(过去 30 天)
显示 更早的评论
k=2.7904;
R=0.20491;
syms a
Eqn=a./((1+(2.*k(1-a)))+((1+(2.*k./3)).*(sqrt(3.*(1-a)))))==R;
a = vpasolve(Eqn, a);
Invalid indexing or function definition. Indexing must follow MATLAB indexing.
Function arguments must be symbolic variables, and function body must be sym
expression.
0 个评论
采纳的回答
David Hill
2021-10-9
编辑:David Hill
2021-10-9
k=2.7904;
R=0.20491;
syms a
Eqn=a./(1+(2*k*(1-a))+(1+(2*k/3)).*(sqrt(3*(1-a))))==R;%messed equation up (need k*(1-a))
s = vpasolve(Eqn, a);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!