How to solve for a different variable
이전 댓글 표시
I am trying to solve for a and e in terms of rpark, but MATLAB is giving me an answer for rpark and e in terms of a.
rpark = 1750.5:.01:10000;
syms a e rpark
S = solve(a == (rmoon*(1+e*cos(-20)))/(1-e^2), a == (rpark*(1-e))/(1-e^2));
S.a
S.e
If anyone knows how to correct this it would be greatly appreciated.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numeric Solvers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!