This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
delx=1/xdiv; %delta x
x=0:delx:1; %one dimensional spatial array
t=0:delt:time; %time array
T(numel(t),numel(x))=zeros; %a two dimensional array holding temperature values T(time,place)
%Assigning initial temperatures
%Assigning boundary conditions
%% Crank Nicolson f=0.5...
This is only a preview of the solution. Please use the purchase button to see the entire solution