Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
FEM: Introduction
Suddhasheel Ghosh, PhD
Department of Civil Engineering
Jawaharlal Nehru Engineering College
N-6 CIDCO, 431003
shudh (JNEC)
Concepts
MEStru2k1617
1 / 12
DiffEq1
Introduction to terminology
d2 y dy
, , y, x = 0,
dx2 dx
dy
F1
, y, x = a = 0
dx
F2
(1)
dy
, y, x = b = 0
dx
So, given the points a and b, it is desired to find the solution of the
differential equation using the least squares technique.
shudh (JNEC)
Concepts
MEStru2k1617
2 / 12
DiffEq1
shudh (JNEC)
y(xn+1 ) = B
Concepts
MEStru2k1617
3 / 12
Least squares means that the sum of squares has to be minimised. The
minimization will happen at the internal points.
shudh (JNEC)
Concepts
MEStru2k1617
4 / 12
Formulation I
Least squares method
(2)
2
n
0 + 1 xn+1 + 2 xn+1
+ + n xn+1
= B,
(3)
h
i
i i(i 1)xi2 + ixi1 P(x) + xi Q(x) = R(x)
i=0
n
X
i2
i1
i
(x) =
i i(i 1)x + ix P(xj ) + x Q(x) R(x)
(4)
i=0
shudh (JNEC)
Concepts
MEStru2k1617
5 / 12
Formulation II
Least squares method
F=
[(x)]2 dx =
Z
a
"
n
X
#2
dx
i=0
Therefore,
F
=
i
Z
a
"
n
X
i2
i1
i
i i(i 1)x + ix P(x) + x Q(x) R(x)
i=0
Concepts
MEStru2k1617
6 / 12
Example I
Least squares method
Problem: Use the least squares method to solve the following differential
equation:
d2 y
y = x
dx2
Use the boundary conditions y(x = 0) = 0 and y(x = 1) = 0. (Desai, Eldho,
Shah)
Solution: Let us assume that the solution is in the cubic form
y = 0 + 1 x + 2 x2 + 3 x3 .
shudh (JNEC)
Concepts
MEStru2k1617
7 / 12
Example II
Least squares method
(5)
=x
=x
Concepts
MEStru2k1617
8 / 12
Example III
Least squares method
And therefore
2
((x))2 = 0 1 x + (2 x2 )2 + (6x x3 )3 x
(6)
(7)
0 + 1 + 2 + 3 = 0
(8)
Therefore, we have
3 = 2 1
Substituting these in (6), we have
2
F = ((x))2 = 1 x + (2 x2 )2 + (x3 6x)(1 + 2 ) x
shudh (JNEC)
Concepts
MEStru2k1617
9 / 12
Example IV
Least squares method
Therefore,
F
= 1 x + (2 x2 )2 + (x3 6x)(1 + 2 ) x x3 7x
1
F
= 1 x + (2 x2 )2 + (x3 6x)(1 + 2 ) x x3 6x x2 + 2
2
Now,
F
dx = 0 = 13.67621 + 6.62622
0 1
Z 1
F
dx = 0 = 6.62621 + 4.27622
0 2
Z
shudh (JNEC)
Concepts
= 2.1333
(11)
= 1.05
(12)
MEStru2k1617
10 / 12
Example V
Least squares method
13.6762 6.6262 1
2.1333
=
6.6262 4.2762 2
1.05
(13)
shudh (JNEC)
Concepts
MEStru2k1617
11 / 12
Thank you!
shudh (JNEC)
Concepts
MEStru2k1617
12 / 12