⇤ ← Revision 1 as of 2010-08-12 09:04:26
646
Comment:
|
← Revision 2 as of 2010-08-12 09:38:57 ⇥
709
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
solve(pde,c) # Verification of solution | print solve(pde,c) # Verification of solution |
Line 16: | Line 16: |
plot3d(lambda x,t: exp(-4*t)*cos(3*x) , (-2,2), (-2,2)) |
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=exp(-4*t)*cos(3*x) # solution pde=diff(u,t)-c^2*diff(u,x,x) print solve(pde,c) # Verification of solution #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: exp(-4*t)*cos(3*x) , (-2,2), (-2,2))
Solution by:
- Aashita Kesarwani, Student, IIT Roorkee
- Snehal Mitragotri, Ex-student, IIT Roorkee'
Tale PrafullKumar, Student, IIT Roorkee