The problems when 'solve' using MAPLE
조회 수: 6 (최근 30일)
이전 댓글 표시
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...
댓글 수: 0
답변 (1개)
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)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!