Professional Documents
Culture Documents
LABWORK 3
COMPUTATIONAL VERSUS ANALYTICAL SOLUTIONS OF
1-DIMENSIONAL HOMOGENEOUS
HEAT BOUNDARY VALUE PROBLEMS
1.
Key in the following Maple commands then answer the following questions.
>
>
>
>
>
>
>
>
>
>
>
>
>
a)
What is the BVP that is being solved in the program segment above.
Ans:
ut ( x ,t ) u xx ( x ,t ) 0 x 1,
u( 0, t ) 0
u( 1, t ) 0
t 0
t0
u( x ,0 ) sin 3x 2 sin 5x
0 x 1
13
Ans:
not insulated
k=1.0
00
00
x=0
x=1
Ans:
14
Ans:
Using SOV the BVP with Dirichlet boundary conditions has analytical solution as
follows.
u ( x, t )
A e
n
( n ) 2 t
sin( nx ) e ( 3 )
sin(3x ) e ( 5 ) t 2 sin(5x )
n 1
>
>
>
>
>
>
>
>
>
>
>
>
15
i)
Ans:
16
2.
t 0
u( 0 , t ) 0
t0
u( , t ) 0
u( x ,0 ) 100 0 x
a)
Write a set of Maple commads suitable to answer the questions that follow.
Ans:
>
>
>
>
>
>
>
>
>
>
>
>
>
b) Describe in words what the model represent.
Ans:
Ans:
17
18
This BVP with Dirichlet boundary conditions has analytical solution as follows.
u ( x, t )
An e n t sin nx
2
n 1
where
n
200
200 1 1
An
sin nx dx
0
n
>
>
>
>
>
>
>
>
>
>
>
>
>
>
h) Sketch and compare Figure 3 and Figure 1.
19
Ans:
i)
Ans:
j)
Now add the following Maple commands then answer the following
questions.
>
>
>
20
>
>
>
>
>
>
>
>
>
>
>
>
k)
Ans:
l)
Ans:
21
22