how can i solve the following wave equation analytically and plot figure)?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
David Goodmanson
el 18 de Abr. de 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
el 18 de Abr. de 2020
I had a typing mistake in my code; my conclusions above are not valid.
Respuestas (0)
Ver también
Categorías
Más información sobre PDE Solvers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!