Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Find oscillations of a vibrating string by solving the 1-D wave equation

Find oscillations of a vibrating string by solving the 1-D wave equation

(1/v^2)(d^2 u/dt^2) - (d^2 u/dx^2) = 0

for u(x,t) in the interval -1<=x<=1 and t>0

with initial conditions

u(x,0) = (1- abs(x))/2

and

du/dt @ t=0

and boundary conditions u(-1,t)=u(1,t)=0

Plot u(x,t) at different points in time t.

Question: How do I go about this and how do I use sage to solve this.

Thanks.

Find oscillations of a vibrating string by solving the 1-D wave equation

Find oscillations of a vibrating string by solving the 1-D wave equation

(1/v^2)(d^2 u/dt^2) - (d^2 u/dx^2) = 0

for u(x,t) in the interval -1<=x<=1 and t>0

with initial conditions

u(x,0) = (1- abs(x))/2

and

du/dt @ t=0

and boundary conditions u(-1,t)=u(1,t)=0

Plot u(x,t) at different points in time t.

Question: How do I go about this and how do I use sage to solve this.

Thanks.

click to hide/show revision 3
retagged

Find oscillations of a vibrating string by solving the 1-D wave equation

Find oscillations of a vibrating string by solving the 1-D wave equation

(1/v^2)(d^2 u/dt^2) - (d^2 u/dx^2) = 0

for u(x,t) in the interval -1<=x<=1 and t>0

with initial conditions

u(x,0) = (1- abs(x))/2

and

du/dt @ t=0

and boundary conditions u(-1,t)=u(1,t)=0

Plot u(x,t) at different points in time t.

Question: How do I go about this and how do I use sage to solve this.

Thanks.