Académique Documents
Professionnel Documents
Culture Documents
clc
clear all
close all
% données giométrique
L =100; % LONGEUR DE LA BARRE
Nx =100; % LE NOMBRE DE NOEUDS
dx = L/(Nx -1); % PAS DE discrétisation
% condition initial
T= zeros(Nx,1); % temprateur initial
% CONDITION AUX LIMITES
T0= 100; % TEMERATURE EN °C à x = 0
Tl=0; % TEMERATURE EN °C à x = L
% nettoyage
clc
clear all
close all
% données giométrique
L =100; % LONGEUR DE LA BARRE
Nx =100; % LE NOMBRE DE NOEUDS
dx = L/(Nx -1); % PAS DE discrétisation
% condition initial
T= zeros(Nx,1); % temprateur initial
% CONDITION AUX LIMITES
T0= 100; % TEMERATURE EN °C à x = 0
Tl=0; % TEMERATURE EN °C à x = L