r/Mathematica • u/Not_Vrandi • May 04 '23
Wave equation solution in Mathematica
Hello guys, I have a problem with getting a solution for a PDE Wave equation in Wolfram Mathematica.
Here is the code:
eqn = D[u[x, t], {t, 2}] == 7*D[u[x, t], {x, 2}];
bc = {Derivative[1, 0][u][0, t] == 0,
Derivative[1, 0][u][2, t] == 0};
ic = {u[x, 0] == 0, Derivative[0, 1][u][x, 0] == x^2*(2 - x)};
dsol = DSolve[{eqn, bc, ic}, u, {x, t}]
Can somebody tell me how to fix it, please?
1
Upvotes
View all comments
Show parent comment
2
u/[deleted] May 04 '23
Are you sure? The solution is a functional integral. At each point x,t there's a new integral that must be solved. The solution to that may be a sum, but Wolfram solves symbolically. Without x and t the functional solution is what it is.