# Revision history [back]

### 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.

Thanks.

 2 retagged vdelecroix 6214 ●16 ●68 ●131 http://www.labri.fr/pe...

### 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.

Thanks.

 3 retagged FrédéricC 2449 ●3 ●28 ●50

### 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.