Unable to find explicit solution

5 ビュー (過去 30 日間)
SOUVIK MITRA
SOUVIK MITRA 2020 年 2 月 22 日
コメント済み: SOUVIK MITRA 2020 年 2 月 25 日
I am trying to find the value of tau when differentiation of f is zero.
syms tau;
mu_B = 1;
theta_BH = 1;
mu_H = 1;
theta_HB = 1;
f = (1/mu_B)*(2^(theta_BH/tau)-1)+(1/mu_H)*(2^(theta_HB/(1-tau))-1)*((1-tau)/tau);
k=diff(f);
solve(k==0);
Warning: Unable to find explicit solution. For options, see help.
and ans is 0x1 sym.
Can anybody tell me what is wrong in this procedure?
  2 件のコメント
David Goodmanson
David Goodmanson 2020 年 2 月 22 日
Hi Souvik. probably there is nothing 'wrong' and expression is just too complicated to have an explicit solution. Hey, it happens.
SOUVIK MITRA
SOUVIK MITRA 2020 年 2 月 22 日
Thanks. So, is there any way to find the value of tau when differentiation of f is zero?

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2020 年 2 月 22 日
vpasolve(k==0, 0.5)
The starting guess can be anything from about 1e-3 upwards.
There are a minimum of 3 different roots of the equation:
0.6278431457
0.02697246510 + 0.2177554874i
0.02697246510 - 0.2177554874i
  1 件のコメント
SOUVIK MITRA
SOUVIK MITRA 2020 年 2 月 25 日
thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by