The problems when 'solve' using MAPLE
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Michael Haderlein
le 6 Août 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 commentaires
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!