The problems when 'solve' using MAPLE
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Michael Haderlein
am 6 Aug. 2014
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 Kommentare
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!