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

1 回表示 (過去 30 日間)
Sergio Manzetti
Sergio Manzetti 2017 年 10 月 2 日
コメント済み: Chandani Madnani 2017 年 10 月 4 日
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 件)

カテゴリ

Help Center および File ExchangeGeneral PDEs についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by