


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



B
1
e
k L⋅
2
e
− k⋅L
a
A
1
2
a
applying the BCs:
T x( ) T
h
( )x T
p
= + ( )x C
1
e
k x⋅
2
e
− k⋅x
a
general solution:
p
( )x T
a
particular solution:
h
( )x C
1
e
k x
2
e
− k⋅x
s s = k,− k
2
− k = 0
homogeneous solution:
2
x
d
d
2
− k T⋅ −k T
a
Theoretical solution (using methods of Differential Equations):
B
A
BC's:
2
x
d
d
2
k T
a
ambient temperature T
a
number of intervals n := 20
temperature at right end T
B
conduction/convection constant k :=0.
temperature at left end T
A
length L := 10
Bar and heat transfer info:
M
:=Odesolve x L( , )
B
A
2
x
T x( )
d
d
2
k T
a
Given
MathCAD numerical solution:
t
( )x C
1
e
k x⋅
2
e
− k⋅x
a
true analytical solution:
1
2
Find C
1
2
B
1
e
k L⋅
2
e
− k⋅L
a
A
1
2
a
Given
using MathCAD:
2
2
A
a
1
1
1
B
a
A
a
− k⋅L
e
k L⋅
e
− k⋅L
using algebra:
i := 0 ..n x
i
:=i ⋅∆x
0 2 4 6 8 10
0
50
100
150
200
T i
T t
xi
T M
xi
xi