Dsolve generates result with variable "t" when t not used

1 Ansicht (letzte 30 Tage)
Sergio Manzetti
Sergio Manzetti am 2 Okt. 2017
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 Kommentare
Chandani Madnani
Chandani Madnani am 4 Okt. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by