how to solve this nonlinear equation?
古いコメントを表示
m = 4.7542;
gsms = 12.684 ;
m1 = (m - gss);
p = 0.1 : 0.5 : 10 ;
k = (3 * p * pi^2 / 2)^(1/3) ;
k1 = sqrt(k^2 + m1^2);
F = (gsms * m1 * (k1 - m1^2/2 *log((k1+k)/m1))/pi^2 )-gss ;
2 件のコメント
Tayyab Khalil
2021 年 5 月 21 日
Can you clearly desribe which equation you want to solve and for which variable?
Dyuman Joshi
2021 年 5 月 21 日
What is gss?
Also, you have defined k and k1 incorrectly, use elementwise operators (.*)
採用された回答
その他の回答 (1 件)
Mike Mierlo van
2021 年 5 月 21 日
0 投票
Please specify variable: 'gss'. This one is unknown in your function.
Also what Tayyab says: what do you want to solve?
It helps a lot if you comment with % after each line what the variable means.
カテゴリ
ヘルプ センター および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!