Send your homework as a single ZIP archive with your files, or send a link to your GitHub repo. Try to keep line lengths below 80 characters.
Exemplary scripts are in the General channel of our team.
Solve the 1D heat equation with initial and bondary conditions not used during the classes. Send the script and the figure.
Solve the 1D wave equation with initial and bondary conditions not used during the classes. Send the script and the figure.
Note that u[:,0] (the initial position of the strig) should be continous and consistent with boundary conditions. In the case of Dirichlet conditions the string ends are fixed, u[0,:] = 0 and u[Nx,:] = 0.