Heat Equation With Mathematica

  • Uploaded by: Amir Masoud Abdol
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Heat Equation With Mathematica as PDF for free.

More details

  • Words: 227
  • Pages: 4
HeatEquation-1.nb

1

ut = uxx y i z j z j z j u H0, tL = 0 z j z j z j z j z j u H1, tL = 0 z j z j z j u Hx, 0L = Sin Hπ xL { k In[52]:=

α = 1;

In[53]:=

sol = NDSolve@8uH0,1L @x, tD u, 8x, 0, 1<, 8t, 0, .2
uH2,0L @x, tD, u@x, 0D

Sin@π xD, u@0, tD

Out[53]=

88u → InterpolatingFunction@880., 1.<, 80., 0.2<<, <>D<<

In[57]:=

pl = Plot3D@Evaluate@u@x, tD ê. sol@@1DDD, 8t, 0, .2<, 8x, 0, 1
0, u@1, tD

0<,

1 0.75

1

0.5 0.75

0.25 0 0

0.5 0.05 0.25

0.1 0.15 0.2 Out[57]=

SurfaceGraphics

0

HeatEquation-1.nb

2

Show@pl, AxesLabel → 8"x", "t", "z"<, PlotLabel −> "Heat Surface", Mesh → FalseD

In[56]:=

Heat Surface

1 0.75

1

z 0.5 0.75

0.25 0 0

0.5 t 0.05

0.25

0.1 x 0.15

0.2 Out[56]=

SurfaceGraphics

0

HeatEquation-1.nb

In[58]:=

3

Show@pl, ViewPoint −> 82.221, 0.844, 2.409
0.05

0.1

0.15

0.2 1 0.75 0.5 5 0.25 25 0 0 0.25 0.5 0.75 1 Out[58]=

SurfaceGraphics

HeatEquation-1.nb

4

Show@pl, AxesLabel → 8"x", "t", "z"<, PlotLabel −> "Heat Surface", ViewPoint −> 82.221, 0.844, 2.409<, Shading → FalseD

In[59]:=

Heat Surface 0

0.05

x 0.1

0.15

0.2 1 0.75 z 0.5 5 0.25 25 0 0 0.25 0.5 t

0.75 1

Out[59]=

SurfaceGraphics

Related Documents

Heat Equation
December 2019 15
Regression With Mathematica
December 2019 14
Heat Diffusion Equation
December 2019 12
Mathematica
May 2020 9
Mathematica
October 2019 15

More Documents from ""

May 2020 7
December 2019 24
April 2020 2
Weierstrass Function
December 2019 9