Problem with finite diffence method

  • Thread starter Thread starter zeynepkisa
  • Start date Start date
  • Tags Tags
    Finite Method
Click For Summary

Homework Help Overview

The discussion revolves around solving a nonlinear differential equation using the finite difference method, specifically focusing on the challenges posed by derivative boundary conditions.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to apply the finite difference method but struggles with the derivative boundary condition. Some participants question the application of finite difference and whether a linear solution is assumed over intervals. Others suggest introducing a fictitious boundary point to address the boundary condition and propose setting up a system of nonlinear equations.

Discussion Status

Participants are exploring various strategies to handle the nonlinearity and boundary conditions. Some guidance has been offered regarding the setup of equations, but there is no explicit consensus on the approach to take.

Contextual Notes

The problem involves specific boundary conditions and a defined step size, which may influence the methods discussed. The original poster mentions using radians for the sine function, indicating a specific context for the calculations.

zeynepkisa
Messages
3
Reaction score
0
I have been trying to solve this problem for hours and hours but derivative boundary condition makes the it very hard. can anybody help me about nonlineer eq. solution with finite difference??

question is:

u'' + 3*u^2 *( 1 / (sin^2(x)) =2.5
BCs:

u'(1)=0.95
u(2)=0.83
h=0.25
(radian for sin function)
 
Physics news on Phys.org
Exactly how are you applying "finite difference"? Are you assuming a linear solution overe each interval?
 
Last edited by a moderator:
As for the boundary condition, since it involves a derivative, you should regard it the actual left boundary as an interior point.
Thus, introduce a fictitious boundary point x_{0}=1-h[/tex]<br /> and you have n+1 points x_{0}, x_{1}=1,\cdots{x}_{n}=2[/tex]&lt;br /&gt; &lt;br /&gt; The differential equation should be satisfied at all interior points, so that you have n+1 non-linear equations like this:&lt;br /&gt; \frac{u_{2}-u_{0}}{2h}=0.95, u_{n}=0.83&lt;br /&gt; and:&lt;br /&gt; \frac{u_{i+1}-2u_{i}+u_{i-1}}{h^{2}}+3u_{i}^{2}\frac{1}{\sin^{2}(x_{i})}=2.5, i=1,\cdots{n-1}&lt;br /&gt; &lt;br /&gt; Now, you are ready to see how to implement a loop structure to actually solve this system approximately..
 
Last edited:
thanks for your attention
 
Have you decided upon a strategy to take care of the non-linearity?
 
yes Newton method
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K