function uxy = Ini2U(x,y)
format long;
uxy = exp(-10*x*x-10*y*y);
function u = peParabImp(c,dt,n,minx,maxx,lbu,rbu,M)
format long;
maxx=100;
minx=1;
n=10
h = (maxx-minx)/(n-1);
%u0(1) = lbu;
u0(1) =0;
%u0(n) = rbu;
u0(n) =0;
for j=2:n-1
apple of love
u0(j) = PrIniU(minx+(j-1)*h);
end
u1 = u0;
M=100
dt=0.01
curvec=0.1
可供出售金融资产lbu=0
rbu=0愚人笑话
for k=1:M
belt是什么意思 A = zeros(n-2,n-2);
cb = - transpo(u0(2:(n-1)));
cb(1) = cb(1) - dt*c*lbu/h/h;
cb(n-2) = cb(n-2) - dt*c*rbu/h/h;
breastmilk A(1,1) = -2*dt*c/h/h -1;星期 英文
A(1,2) = dt*c/h/h ;
for i=2:n-3
A(i,i-1) = dt*c/h/h ;健康管理师报考要求
imf卡恩 A(i,i) = - 2*dt*c/h/h -1 ;
A(i,i+1) = dt*c/h/h ;
end
A(n-2,n-2) = -2*dt*c/h/h -1;
A(n-2,n-3) = dt*c/h/h;
u1(2:(n-1)) = A\cb;
本科转学出国
u0 = u1;
end
u = u1;
format short;