Question

Problem #4. The convective heat transfer problem of cold oil flowing over a hot surface can be described by the following sec
0 0
Add a comment Improve this question Transcribed image text
Answer #1

-0.83 x² % 4.1 T +0.838²7=0 g) T = -0.83%? T T(0)=0, T(s) = 1 Assume, YT Y2 = T y = T=% yo -- [] > 0.83x2y2 D Y, (o)=

%% 4.2
function dy = dTdx( x, y )

dy = [y(2); -0.83*x^2*y(2) ];

end

%% 4.3
function r = residual( za )
global L y1_5 y1_0
[~,y] = ode45(@dTdx,[0,L],[y1_0,za]);
r = y(end,1)-y1_5;
end

%% 4.3
clc
clear all

global L y1_5 y1_0
L = 5; % dimensionless variable
y1_5 = 1;
y1_0 = 0;

y2_0 = fzero(@residual,[0,10]);

%% 4.4
[x,y]=ode45(@dTdx,[0 L],[y1_0, y2_0]);

plot(x,y(:,1),'LineWidth',2);
xlabel('x');
ylabel('T');
grid on

1.4 1.24 0.8 0.6 0.41 0.21 0.5 1.5 12 3.5 4.5 5 2.5 x

Add a comment
Know the answer?
Add Answer to:
Problem #4. The convective heat transfer problem of cold oil flowing over a hot surface can...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT