Docsity

Galerkin Method 3-Finite Element Method-Assignment Solution, Exercises of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Problem 5.27
Find the solution of problem 5.25 using the Galerkin method using the solution
Ø(x) =c1x (1-x) +c2 x2(1-x)
Solution
Ø(x) =c1x (1-x) +c2 x2(1-x)
dØ/dx=c1(1-2x)+c2(2x-3x2)
d2Ø/dx2=-2c1+2c2(1-3x)
Substituting values if differential equation
d2Ø/ dx2+400x2=0 0≤x≥1
-2c1+ 2c2 (1-3x) +400x2=0
According to Galerkin method
= C1+2C2 (1-3x) +400 dx
0=-2 C1(1/2-1/3)+2C2(3/4-4/3+1/2)+400(1/4-1/5)
2C1+C2=120 (1)
= C1+2 C2 (1-3x)+400 dx
0=2 C1(1/3-1/4)+2C2(3/5-1+1/3)+400(1/5-1/6)
On simplifying
0.5C1+0.4C2=40 (2)
By solving (1) and (2), we get
C1=26.667, C2=66.667
docsity.com

Partial preview of the text

Download Galerkin Method 3-Finite Element Method-Assignment Solution and more Exercises Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Find the solution of problem 5.25 using the Galerkin method using the solutionProblem 5.

Solution^ Ø(x) =c^1 x (1-x) +c^2 x2(1-x) dØ/dx=c^ Ø(x) =c 11 (1-2x)+cx (1-x) +c 2 (2x-3x2)^2 x2(1-x) Substituting values if differential equation^ d^2 Ø/dx^2 =-2c^1 +2c2(1-3x) -2c^ d^21 Ø/ dx+ 2c 22 (1-3x) +400x+400x^2 =0^20 =0≤x≥ According to Galerkin method = C 1 +2C 2 (1-3x) +400 dx 2C1+C2=120^ 0=-2 C^1 (1/2-1/3)+2C 2 (3/4-4/3+1/2)+400(1/4-1/5)(1) 0=2 C 1 (1/3-1/4)+2C^ =^2 (3/5-1+1/3)+400(1/5-1/6)C^1 +2 C^2 (1-3x)+400^ dx On simplifying 0.5C 1 +0.4C 2 =40 (2) By solving (1) and (2), we get C1=26.667, C2=66.

docsity.com