This preview shows page 1. Sign up to view the full content.
Unformatted text preview: t is known as forced vibrations. The actual
analytical solution for this problem is , sin . Implement in MATLAB the equations we derived in class and plot both the analytical and numerical solutions using the main code and subroutine
given below, if 96, =12. %solve_1-D Wave
(Complete the following missing information to use the code!)
nt= ; ','t','x');
'); %% Numerical solution:
%% Analytical solution
(is U(i,j)and is given to you. You only need to evaluate it in your me...
View Full Document
This document was uploaded on 03/25/2014.
- Winter '14