Noc18 Ee24 Assignment2
Noc18 Ee24 Assignment2
Unit 4 - Week
1: Finite Difference Method (FDM) - I
Course
outline
Week 1 Assignment 1
The due date for submitting this assignment has passed.
How to access As per our records you have not submitted this Due on 2018-08-15, 23:59 IST.
the portal? assignment.
Lab tour 1 The finite-difference representation for two-dimensional Laplace equation using central differencing
scheme is
Summary week © 2014 NPTEL - Privacy & Terms - Honor Code - FAQs -
1
A project of In association with
Quiz : Week 1 φ(i+1,j)−2φ(i,j)+φ(i−1,j) φ(i,j+1)−2φ(i,j)+φ(i,j−1)
Assignment 1 Δx
+ Δy
=0
Week 1 -
Funded by
Feedback:
φ(i+1,j)+φ(i−1,j) φ(i,j+1)+φ(i,j−1)
Week 2: Finite + =0
Difference Δx 2 Δy 2
Method (FDM) - II
φ(i+1,j)−φ(i,j)+φ(i−1,j) φ(i,j+1)−φ(i,j)+φ(i,j−1)
Week 3: Finite + =0
Δy 2 Δx 2
Difference
Method (FDM) - None of these
III
No, the answer is incorrect.
Week 4: Score: 0
Boundary Accepted Answers:
Conditions φ(i+1,j)−2φ(i,j)+φ(i−1,j) φ(i,j+1)−2φ(i,j)+φ(i,j−1)
+ =0
Δx 2 Δy 2
Week 5:
Variational 3) Which of the following is(are) the correct computational stencil(s) for a one-dimensional 1 point
2
Methods wave equation with aspect ratio r = (kΔt/Δx) where, k is a constant, Δt and Δx are step-sizes
in time and x-axis respectively? (filled-squares represent known points and empty-circles represent
Week 6: Finite unknown point in the figure)
Element Method
-I
Week 7: Finite
Element Method
- II
Week 8: Method
of Moment
Week 11:
Algebraic
Topological Statement 2: Implicit Scheme with aspect ratio = 1
Method - I
Week 12:
Algebraic
Topological
Method - II and
Mimetic Method
Video Download
4) d2y 1 point
The central-difference formulation of the differential
dx 2
at point x = 4 with step-size
Δx = 4 is
y(8)+y(0)
4
y(8)−2y(4)+y(0)
4
y(8)−2y(4)+y(0)
16
y(8)+y(0)
16
None of these.
5) Which of the following statement(s) is(are) correct for a first-order, one-dimensional partial 1 point
differential equation (PDE) with constant spatial step-size?
Statement 1: The order of truncation error in forward-differencing is less than that of central-
differencing.
Statement 2: The order of truncation error in backward-differencing is more than that of central-
differencing.
Statement 3: The order of truncation error in forward-differencing is same as that of central-
differencing.
Statement 4: The order of truncation error in forward-differencing is same as that of backward-
differencing.
6) Assume Δx is the step-size with index i along the x-axis and Δt is the time-step with 1 point
index n . What is the forward-difference (FD) and central-difference (CD) formulation for the given
equation?
∂ t u(x, t) = ∂ x u(x, t)
FD: u(i + 1, n) = Δx
u(i, n) + (1 − Δx
Δt
)u(i, n − 1)
Δt2
CD: u(i + 1, n) = Δx
u(i, n) + (1 + Δx
Δt
)u(i, n − 1)
Δt2
FD: u(i, n + 1) = Δt
Δx
u(i + 1, n) + (1 − Δt
Δx
)u(i, n)
CD: u(i, n + 1) = Δt
Δx
(u(i + 1, n) + u(i, n − 1)) − Δt
Δx
u(i − 1, n)
FD: u(i, n + 1) = Δt
Δx
u(i + 1, n) + (1 − Δx
Δt
)u(i, n)
Δt Δt
CD: u(i, n + 1) = Δx u(i + 1, n) − Δx u(i − 1, n) + u(i, n − 1)
FD: u(i + 1, n) = Δx
Δt
(u(i + 1, n) + u(i, n))
CD: u(i, n + 1) = Δx
Δt
u(i + 1, n) − Δt
Δx
u(i − 1, n) + (1 − Δx
Δt
)u(i, n − 1)
None of these.
FD: u(i, n + 1) = Δt
Δx
u(i + 1, n) + (1 − Δx
Δt
)u(i, n)
Δt Δt
CD: u(i, n + 1) = Δx u(i + 1, n) − Δx u(i − 1, n) + u(i, n − 1)
7) Assume Δx is the step-size with index i along the x-axis and Δt is the time-step with 1 point
index n .
∂ tt u(x, t) = ∂ xx u(x, t)
The central-difference explicit-formulation and aspect-ratio r for the given equation are
f(i+3)−f(i+2)+f(i+1)−f(i)
(Δx)2
f(i+3)+3f(i+2)+3f(i+1)+f(i)
(Δx)3
f(i+3)−3f(i+2)+3f(i+1)−f(i)
(Δx)3
f(i+3)+3f(i+2)−f(i)
Δx 2
None of these.
d 2 y(x)
For an ordinary differential equation (ODE),
dx 2
+ y(x) = 1 in 0 < x < L with boundary
conditions y(0) = y(L) = 0. The domain is divided as shown in the figure with step-size h and index i in
x-direction.
Assume Δx is the step-size with index i in x-direction and Δt is the time-step with index n . For the
one-dimensional heat-equation,
∂ t u(x, t) − ∂ xx u(x, t) = 0
The finite-difference formulation of the above equation, using forward-differencing in time and central-
differencing in space, is
2Δt
u(i, n + 1) = Δx
[u(i + 1, n) + u(i, n − 1)] + u(i, n − 1)
Δt
u(i, n + 1) = [u(i + 1, n) − 2u(i, n) + u(i, n − 1)]
(Δx)2
Δt
u(i, n + 1) = Δx
[u(i + 1, n) − 2u(i, n) + u(i, n − 1)] + u(i − 1, n)
Δt
u(i, n + 1) = [u(i + 1, n) − 2u(i, n) + u(i − 1, n)] + u(i, n)
(Δx)2
None of these
Accepted Answers:
Δt
u(i, n + 1) = [u(i + 1, n) − 2u(i, n) + u(i − 1, n)] + u(i, n)
(Δx)2