1D wave equation

Solve the 1-dimensional wave equation in a fixed length from 0 to L = 1 [L] at the speed of 1 [c] using 200 segments, and initialize two initial waves on the two ends of the string: the left side's wave length is 0.15 [L] and has 1 wave length, and the right side's wave length is 0.25 [L] and has 2 wave lengths. Run the code for 10 [t]. Give me the matlab code for (1) at t=0, and (2) at t=10 [t].

1 个评论

The forum won't do the homework for you. Make an attempt, and if you have a specific question concerning your code, we might be able to help you.
Otherwise, google "MATLAB & 1d wave equation". I'm convinced you will get dozens of hits.

回答(0 个)

此问题已关闭。

产品

标签

提问:

2023-10-16

关闭:

2023-10-16

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by