unable to solve vpasolve
Afficher commentaires plus anciens
why does my code create a 3X1 Sym matrix for L_to_B_inital? i think it should be 1x1 and matlab doesn't give me an answer for L_to_B_initial?
im so confused
Any advice would be appricated, thank you
Cp=2.0714;
Cv=0.6360;
syms L_to_B_initial;
L_to_B = vpasolve((0.75-(1/(((5.236*Cv^2)/(L_to_B_initial^2))+2.4)))-Cp/L_to_B_initial == 0, L_to_B_initial, 2.5);
3 commentaires
Torsten
le 8 Avr 2020
Your equation has 3 solutions - thus a 3x1 array.
Amy Potter
le 8 Avr 2020
Torsten
le 9 Avr 2020
If you multiply by the common denominator, you'll see your equation becomes a cubic.
Réponses (0)
Catégories
En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!