900 likes | 2.37k Views
Wave Equation Modeling of Vibrating String. The tension is tangential to the curve T 1 and T 2 are the tension at the endpoints P and Q is the mass of the string per unit length No motion in the horizontal direction The weight of the string is neglected.
E N D
Wave EquationModeling of Vibrating String • The tension is tangential to the curve • T1and T2 are the tension at the endpoints P and Q • is the mass of the string per unit length • No motion in the horizontal direction • The weight of the string is neglected
Modeling of Vibrating String PDE u(x,t) x x=0 x=L boundary conditions initial conditions
Solution by Separating VariablesUse of Fourier Series boundary conditions initial conditions
t1 t2 t3 tK Computational Aspects
t1 t2 t3 tK Computational Aspects • Use FFT to compute
Implementation by Matlab function a=sincof(func,hafper,nft) • Use FFT to compute u=((a(ones(length(x),1),:).*sin(x*w))*cos(w(:)*t))';