x=var('x')
w=var('w')
W=det(matrix([[exp(-x)*cos(w*x),exp(-x)*sin(w*x)],[exp(-x)*(-w*sin(w*x)-cos(w*x)),exp(-x)*(w*cos(w*x)-sin(w*x))]]))        
show(W.simplify_rational())
#W!=0, so the basis functions are linearly independent

SageDays/Kreyszig-2.7-8 (last edited 2010-08-12 07:16:29 by namdev more)