Matlab Database > Ordinary Differential Equations > Cooling ODE

Matlab File(s)

Title: Cooling ODE
Author: Andreas Klimke
Institution: Technische Universität München
Description: Solve the differential equation given by Newton's law of cooling with the implicit single step method of Crank-Nicolson. The differential equation is given as
T'(t) + k*T(t) = k*Ts
With: k  : positive constant
      Ts : temperature of surroundings

For this example: T(0)=100, Ts=20, k = 0.0654.
The numerical solution is compared to the exakt solution.
Keywords: ODE, cooling, crank-nicolson, differential equation
File Name: cooling.m
File Size: 2 KB
File Version: 1.0
Matlab Version: 6.1
Date: 2002-07-04
Downloads: 4317
Download File

Upload your own files today! Click here for more information.