Cooling temperature of glass of water using Newton's law

Computing the temperature of glass of water in time domain using Newtons's law .
806 Downloads
Aktualisiert 14 Apr 2013

Lizenz anzeigen

Cooling temperature of Glass of water using Newton's Law :
<dT/dt=alpha(T-T0)>

1)Solution using the solver "ode23" :

% function dT=TempNewton(t,T)
% alpha=-0.1;
% Tenv =25;
% dT(1)=T(2);
% dT(2)=alpha.*(T(2)-Tenv);
% dT=dT';
%---------------------------------------
%[t,T]=ode23('TempNewton',0,60,[0 100]);
%figure, plot(t,T(:,2))

2)The proportion constant alpha=-0.1 is measured in laboratory.

3)In the last part of the program we change initial temperature of the glass and apply the equation, however for every initial value, the alpha constant must be measured , the only real value obtained experimentally is {alpha=-0.1,Tinitial=100 °} then, we try to estimate the different temperature
profiles based on the same alpha .

Zitieren als

Youssef Khmou (2024). Cooling temperature of glass of water using Newton's law (https://www.mathworks.com/matlabcentral/fileexchange/41290-cooling-temperature-of-glass-of-water-using-newton-s-law), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2007a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Thermal Analysis finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0