in
math lab how to simulated heat conduction and how to show it in a
video sinulation
bottom code is a simulation of just the hear conduction
without the video
clear,pack,clc
% material properties
k=200
cp=921
rho=2500
alpha=k/(cp*rho);
% introduce discretization constants
% time
delta_t=0.1;
%space
delta_L=0.01; % this is in meters
% how many points
N=100;
% constants a1, and a2
a1=1-2*(alpha*delta_t)/(delta_L^2);
a2=(alpha*delta_t)/(delta_L^2);
% introduce initial and boundary conditions
% initial condition
T0=zeros(N,1);
T0(1:floor(N/3))=30;
% boundary condition
% this...