how can i solve the following wave equation analytically and plot figure)?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
D(u(x,t),t,t)=c^2*D(u(x,t),x,x);
Where u(x,0)=f(x),D[2](u)(x,0)=g(x),u(0,t)=0=u(L,t),L=2
here D[2](u) (x,0) means two times derivative of u with respect to x at t=0
11 Commenti
David Goodmanson
il 18 Apr 2020
Hi Pulak,
It doesn't really work that way. Since this appears to be homework, you need to make an effort to use the course material and come up with some code. If the code doesn't work as it should that's all right, because then there will be something to comment on. No one at this site is predisposed to provide code out of thin air for homework problems.
Walter Roberson
il 18 Apr 2020
I had a typing mistake in my code; my conclusions above are not valid.
Risposte (0)
Vedere anche
Categorie
Scopri di più su PDE Solvers in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!