Problem with DSOLVE (Error using symengine)
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey guys, basically I try to translate this maple-code
in matlab. Not so much to change, here the code so far:
function test
syms A rr th nu ff(th) gg(rr)
phi = A*rr^2*log(rr);
srr = simplify((diff(phi, rr))/rr + (diff(phi, th, 2))/rr^2);
stt = simplify(diff(phi, rr, 2));
srt = simplify(-(diff((diff(phi, th))/rr, rr)));
kappa = 3-4*nu;
Epsrr = simplify(((kappa+1)*srr-(3-kappa)*stt)/4);
Epstt = simplify(((kappa+1)*stt-(3-kappa)*srr)/4);
Epsrt = srt;
tmur1 = int(Epsrr, rr);
e1 = rr*Epstt-tmur1;
tmut1 = int(e1, th);
tmur2 = tmur1+diff(ff(th), th);
tmut2 = simplify(tmut1+gg(rr)-ff(th));
hh = simplify(expand(rr*(Epsrt-(1/2)*((1/rr)*diff(tmur2, th) + ...
diff(tmut2, rr)-tmut2/rr))));
h1 = int(diff(hh), th);
h2 = hh-h1;
sl = dsolve(h1==0);
However, there is a problem with dsolve ('Error using symengine').
Any suggestions to correct this?
Thanks
Réponses (0)
Voir également
Catégories
En savoir plus sur Number Theory 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!