Homework 2_parttwo

Homework 2_parttwo - % Homework 1b Part Two clear d = 9.98;...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % Homework 1b Part Two clear d = 9.98; % Density of orange c = 3900; % Specific heat of orange h = 6; % Convective heat transfer coefficient %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ % initial temperature at 20 degrees % arbitrary time since t is unknown %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ % radius is 2.5 cm for r = 2.5; v = (4/3)*pi*(r^3); % Volume of orange a = 4*pi*(r^2); % Area of orange m = d*v; % Mass of orange t = 1:9000 % time in seconds Ti = 20; % Harvest Temperature of 20 degrees Tf = 3; % Cold Storage Temperature T(t) = Tf + (Ti-Tf)*exp(((-h*a)/(m*c))*t); end subplot(6,1,1), plot (t,T) % radius is 3.0 cm for r = 3; v = (4/3)*pi*(r^3); % Volume of orange a = 4*pi*(r^2); % Area of orange m = d*v; % Mass of orange t = 1:9000 % time Ti = 20; % Harvest Temperature of 20 degrees Tf = 3; % Cold Storage Temperature T(t) = Tf + (Ti-Tf)*exp(((-h*a)/(m*c))*t); end subplot(6,1,2), plot (t,T) % radius is 3.5 cm for r = 3.5; v = (4/3)*pi*(r^3); % Volume of orange a = 4*pi*(r^2); % Area of orange...
View Full Document

Page1 / 3

Homework 2_parttwo - % Homework 1b Part Two clear d = 9.98;...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online