lab 3 (soalan) v2

Upload: quiah89

Post on 12-Apr-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/21/2019 LAB 3 (soalan) v2

    1/10

    Partial Differential Equations

    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 soled in the program segment aboe.

    Ans:!1! >

  • 7/21/2019 LAB 3 (soalan) v2

    2/10

    Partial Differential Equations

    Ans:

    d) *+etch the solution cures obtained computationally by the command

    Ans:

    e) ,nterpret this isual.

    Ans:

    &his figure shows the heat profile along the rod for t>0.,nitially the heat at eerypoint along the rod is goerned by the equation ( ) ( )sin $ # sin "x x . -fter!.!!" sec the temperature profile still appears sinusoidal but with the amplitude

    reduced. -fter !.!1 sec the temperature further reduces getting closer to !. -fter

    !.!" sec the temperature along the rod is een closer to !. -fter about !.1 sec the

    temperature along the rod is still sinusoidal. -fter 1 sec the heat stabilies to !

    temperature. /oweer at all times the ends of the rod are unchanged and remain !.

    10

    k=1.0

    x=0 x=1

    not insulated

    00 00

  • 7/21/2019 LAB 3 (soalan) v2

    3/10

    Partial Differential Equations

    f) *+etch and interpret the animation from the command

    Ans:

    sing *2V the BVP with %irichlet boundary conditions has analytical solution as

    follows.

    )"sin3#)$sin3)sin3)(3### )"3)$3

    1

    )3xexexneAtxu

    tt

    n

    tn

    n

    =

    ==

    g) &ype out the following Maple commands.

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    1"

  • 7/21/2019 LAB 3 (soalan) v2

    4/10

    Partial Differential Equations

    h) *+etch and compare 4igure $ with 4igure 1.

    Ans:

    i) *+etch and compare 4igure # and 4igure 0.

    Ans:

    15

  • 7/21/2019 LAB 3 (soalan) v2

    5/10

    Partial Differential Equations

    #. 6onsider the following heat boundary alue problem.

    !! >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    b) %escribe in words what the model represent.

    Ans:

    c) *+etch the physical representation of the BVP.

    Ans:

    17

  • 7/21/2019 LAB 3 (soalan) v2

    6/10

    Partial Differential Equations

    d) *+etch the solution cures obtained computationally by the Maple command.

    Ans:

    e) ,nterpret this isual.

    Ans:

    f) ,nterpret the animation obtained from

    Ans:

    18

  • 7/21/2019 LAB 3 (soalan) v2

    7/10

    Partial Differential Equations

    &his BVP with %irichlet boundary conditions has analytical solution as follows.

    ( )nxeAtxu tnn

    n

    sin)(3#

    1

    =

    =

    where ( ) ( )

    == ndxnxA

    n

    n11#!!sin#!!

    !

    g) &ype out the following Maple commands.

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    h) *+etch and compare 4igure $ and 4igure 1.

    19

  • 7/21/2019 LAB 3 (soalan) v2

    8/10

    Partial Differential Equations

    Ans:

    i) *+etch and compare 4igure # and 4igure 0.

    Ans:

    :) ;ow add the following Maple commands then answer the following

    questions.

    >

    >

    >

    #!

  • 7/21/2019 LAB 3 (soalan) v2

    9/10

    Partial Differential Equations

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    >

    +) *+etch the isual obtained from the segment aboe.

    Ans:

    l) ,nterpret this isual.

    Ans:

    #1

  • 7/21/2019 LAB 3 (soalan) v2

    10/10

    Partial Differential Equations

    ##