When I try to solve this equation, this message appears, how can I solve this problem?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
David Hill
le 9 Oct 2021
Modifié(e) : David Hill
le 9 Oct 2021
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);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Conversion Between Symbolic and Numeric 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!