DOC

BTCS

By Alice Owens,2014-06-07 21:41
20 views 0
% % % % - - - - - - - - - dx=0.01; x=dx:dx:1-dx; J1=length(x); dt=0.25e-3; N=500; t=(0:N-1)*dt; % % % % --------- % % Initial and boundary condiction ubc_l=100*ones(N,1); ubc_r=100*ones(N,1); u_initial=zeros(1,J1); % % % % --------- lamda=dt/dx^2; u=zeros(N,J1); u(1,:)=u_initial; % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % a:the ma..
null
null

Report this document

For any questions or suggestions please email
cust-service@docsford.com