I am looking for P in this equation in Matlab
1 回表示 (過去 30 日間)
古いコメントを表示
I am looking for solving this equation into matlab and find P. I want to solve and find P as other parameters.
I edited my variable. In second attachment shows all parameters.
What should I do if I want to show the P answer as a parameter form?
1 件のコメント
Davide Masiello
2022 年 4 月 8 日
編集済み: Davide Masiello
2022 年 4 月 8 日
Hi - someone else asked the same question recently, check the following link
回答 (1 件)
Davide Masiello
2022 年 4 月 8 日
clear,clc
alpha = 0.5;
kH = 1;
P0 = 1;
qm = 2;
kS = 0.01;
n = 4;
qx = 1;
func = @(x) qx-(exp(-alpha*x)*kH*x+(1-exp(-alpha*x))*qm*(kS*x)^(1/n)/(1+(kS*x)^(1/n)));
P = P0*fzero(func,1)
2 件のコメント
Torsten
2022 年 4 月 8 日
P cannot be expressed in parameter form - only a numerical solution with given values for the other parameters is possible.
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!