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

1 次查看(过去 30 天)
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 个评论
Chandani Madnani
Chandani Madnani 2017-10-4
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

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by