The problems when 'solve' using MAPLE

7 ビュー (過去 30 日間)
seon-hong
seon-hong 2014 年 8 月 6 日
回答済み: Michael Haderlein 2014 年 8 月 6 日
When I solve some equations using MATLAB R2013a solver, there was just warning massage without solution.
So, I purchase MAPLE 18 to solve this problem and replace MATLAB solver to MAPLE solver. The problems are written as follows.
EX) a*(1+t)*sqrt(log(1/t)/t)/t - b % a, b are the variables in MATLAB % t is the solution
Here's my code for solving this problem
maple(['a:=' num2str(matval1)]);
maple(['b:=' num2str(matval2)]);
maple('solve(a*(1+t)*sqrt(log(1/t)/t)/t - b ) ');
But there is warning sign AGAIN!
Warning, solve may be ignoring assumptions on the input variables.
The calculation time is not that fast and even the time is getting longer as I RUN the code.
Help me...

回答 (1 件)

Michael Haderlein
Michael Haderlein 2014 年 8 月 6 日
Well, I don't believe that there exists an explicit solution of this problem. So most likely, you have to be happy with a numeric solution. fzero has trouble solving this equation, but fsolve makes it:
a=1;b=2;
fsolve(@(t) a*(1+t)*sqrt(log(1/t)/t)/t - b ,.1)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by