Dsolve generates result with variable "t" when t not used
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi; I tried to solve a PDE using dsolve, and the code looks like:
if true
syms h r l
h = 2
g = 5
dsolve('r^2*(h^2*(D2v+1/r*v+2*i*h*Dv))-l*2*i*h*v=0','v(0)=r')
end
however, the results is strange and has t in it as variable:
C15*exp(-(t*((h*(h^3*i^2*r^2 - h*r + 2*l*i))^(1/2) + h^2*i*r))/(h*r)) - exp((t*((h*(h^3*i^2*r^2 - h*r + 2*l*i))^(1/2) - h^2*i*r))/(h*r))*(C15 - cos(r))
Can someone point to the reason for this "t" variable?
4 commentaires
Torsten
le 4 Oct 2017
Chandani Madnani
le 4 Oct 2017
What is h and g? Are they representing constants B and C from the mathematical equation? Why is h and l used inside 'dsolve' then? What is 'i' in the equation for? Is that also a constant?
For more details about using "dsolve", please see the documentation link below:
https://www.mathworks.com/help/symbolic/dsolve.html
Réponses (0)
Voir également
Catégories
En savoir plus sur Eigenvalue Problems dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!