Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Superposition of moving function

$
0
0
Let the
string be initially displaced in this manner: left end fixed at 0, at x=1/3 the initial displacement is
1 (positive up), the right end is also fixed at 0. The displacement is linear (up) from x=0 to
x=1/3, and again linear (down) from x=1/3 to x=1.
At time t = 0, extend the initial displacement into an odd and periodic function with a
period of 2L = 2 on both sides of the x-axis. At time t > 0, this initial periodic function g(x)
splits into two halves: one half moving to the left, and one half moving to the right at the same
speed v, and their sum produces the shape of the string in vibration at that moment in time.
Write a Matlab program that produces these traveling waves
0.5*g(x ? vt )+g(x + vt) at
appropriate fixed times of your choice, and sum up these waves to see the shape of the string at
these fixed times.

Viewing all articles
Browse latest Browse all 19628

Trending Articles