Finite element method for the construction of the approximation of the solution

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

Given the following two-point problem:
$$-y''(x)+(by)'(x)=f(x), \forall x \in [0,1]$$
$$y(0)=0, y'(1)=my(1)$$
where $ b \in C^1([0,1];R), f \in C([0,1];R)$ and $ m \in R$ a constant.
Give a finite element method for the construction of the approximation of the solution $y$ of the problem above, where the finite element space ($S$) consists of continuous and partially linear functions.

My idea is the following:
$ u \in S:$
$$ -\int_0^1{u''g}dx+ \int_0^1{bu'g}dx= \int_0^1{fg}dx$$
$$ -u'g|_0^1+ \int_0^1{u'g'}dx+ \int_0^1{bu'g}dx= \int_0^1{fg}dx$$
$$-mu(1)+g(1)+ \int_0^1{u'g'}dx+ \int_0^1{bu'g}dx= \int_0^1{fg}dx$$
$ \forall g \in S$

Could you tell me if this is correct?
 
Last edited by a moderator:
on Phys.org
To find the method we take a function $g$ of $S$, right? Does this function satisfy the conditions of the problem? I mean $g(0)=0, g'(1)=mg(1)$... Or is there an other way to find the method?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
5K
Replies
1
Views
2K