Professional Documents
Culture Documents
Numerical Integration and Differentiation y
Numerical Integration and Differentiation y
Numerical Integration and Differentiation y
x
0 1
How to calculate:
+1
or
0
+1 =
1 =
Numerical Differentiation
x
0 1
+1
= +
+1
Numerical Differentiation
1 2
| 0 +
+
| 0
0
2 2 0
Let us define 0 = +
= 0
+1 = 0
0 =
2
+1 0 =
2
1 2
| 0 +
+
| 0
0 +1
2 2 0 +1
= 0
|
+
0
2
+1 = 0
+1
|
+
0 2
|0 +
=
+1
= 0 =
+
1 2
+
|
2 2 0
2
1 2
+
|
2 2 0 2
+
=
+ =
+ =
1
=
1
=
1D FDTD Algorithm
=
1 = 1
,1
+0.5
,1
+1 = + 1
+0.5
,
We discretize EM field on
a finite set of lattices.
,
= = ; =
+0.5
,
= = +
,+1
1
1
; = +
2
2
+2 = + 2
1
=
1
=
@ =
1D FDTD Algorithm
=
1 = 1
,1
+0.5
,1
1
=
+1 = + 1
+0.5
,
,+1
+2 = + 2
1
; =
= +
2
+0.5
0.5
,
,
,+1
,
1
=
,
=
2
,
,+1
+0.5
0.5
,
,
= ,
+
1
= +
1D FDTD Algorithm
=
1 = 1
,1
+0.5
,1
1
=
+1 = + 1
+0.5
,
,+1
+2 = + 2
+0.5
,
= = ; = +
+0.5
+0.5
+1
,
,1
,
,
1
+0.5
=
,
= + 1
+1
,
+0.5
+0.5
,
,1
+0.5
,
= ,
+
1D FDTD Algorithm
1
= 1
= 0.5
Algorithm:
+1
0.5
= + 1
= + 0.5
+0.5
= + 1.5
+1.5
,
,+1
+0.5
0.5
,
,
= ,
+
+0.5
+0.5
,
,1
+1
+0.5
,
,
= ,
+
Boundary Condition
PEC
1st cell
0 = 0
,1
+0.5
,1
,1
=0
+0.5
,1
1 =
,2
,2
0.5
,1
= ,1
+
1 = ( 1)
Nth cell
+0.5
,
=0
,
+0.5
,
=0
PEC
FDTD HW 1
PEC
PEC
L=30
1D FDTD Project
PEC
1st cell
0 = 0
,1
+0.5
,1
1 =
,2
1 = ( 1)
Nth cell
+0.5
,
PEC
Numerical Integration: 1D
How to calculate
x
0
0 = +
2
+1
+1
+1
+1
= 0
0
2
0 =
1 2
| 0 +
+
| 0
0
2 2 0
+1
+1
1 2
| 0 +
+
| 0
0
2 2 0
= 0
+1
3
=
12
Numerical Integration: 2D
How to calculate
x
0
+1
= 0
+1
2
3
+
= +
+ 2 |0
2
24
1
+
= +
2
0
=0
Numerical Integration: 2D
How to calculate
= +1
+1
,
0
= +1
= 0 +
0
0
+1
1 1
= 0 +
, = +
=0
=0
, +
2
2