Book
Advanced Engineering Mathematics
Author
Erwin Kreyszig
Edition
8th Edition
x=var('x')
t=var('t')
c=var('c') # An arbitary Constant
u=function('u',x,t)
u=x^2+t^2
pde=diff(u,t,t)-c^2*diff(u,x,x)
print solve(pde,c)
#Thus, given 'u' is a solution of PDE since we can find a suitable constant 'c' for which equation is satisfied.
plot3d(lambda x, t: x^2 + t^2, (-2,2), (-2,2))
Solution by:
- Aashita Kesarwani, Student, IIT Roorkee
- Snehal Mitragotri, Ex-student, IIT Roorkee'
Tale PrafullKumar, Student, IIT Roorkee
