Shooting method for non-linear equation

Click For Summary
SUMMARY

The discussion focuses on the shooting method for solving non-linear equations, specifically using the Euler method. The equation in question is $$y''=-(y')^2-y+\ln x$$ with boundary conditions $$y(1)=0$$ and $$y(2)=\ln 2$$. The user successfully calculated the intermediate value $$t_{2}=0.72105$$ but initially struggled with finding $$y(2,t_{2})$$ using a step size of $$h=0.5$$. Ultimately, the user resolved their confusion and indicated that no further assistance was needed.

PREREQUISITES
  • Understanding of the shooting method for boundary value problems
  • Familiarity with Euler's method for numerical integration
  • Knowledge of non-linear differential equations
  • Basic calculus, particularly derivatives and logarithmic functions
NEXT STEPS
  • Study the implementation of the shooting method in Python using libraries like SciPy
  • Learn about adaptive step size control in Euler's method
  • Explore other numerical methods for solving non-linear differential equations, such as Runge-Kutta
  • Investigate boundary value problem solvers available in MATLAB or Mathematica
USEFUL FOR

Students and researchers in applied mathematics, particularly those focusing on numerical methods for differential equations, as well as educators teaching numerical analysis techniques.

sigh1342
Messages
30
Reaction score
0
shooting method for non-linear equation(urgent)

Homework Statement


for shooting method , in non-linear equation, we're find
$$t_{k}=t_{k-1}-\frac{[y(b,t_{k-1})-β](t_{k-1}-t_{k-2})}{y(b,t_{k-1})-y(b,t_{k-2})}$$
but how can we find the $$y(b,t_{k})$$ ?
I am suppose to use Euler method for it , but I'm confused,
for example , the question is $$y''=-(y')^2-y+lnx , 1≤x≤2 , y(1)=0, y(2)=ln2$$
suppose $$t_{0}=3, y(2,t_{0})=2.775, t_{1}=0.7, y(2,t_{1})=0.5775 $$we can find $$t_{2}=0.72105$$ then how can we find $$y(2,t_{2})$$ ?with Euler method , with h=0.5,
and I also want to know if the question didn't give what the $$y(b,t_{0})$$ , and $$y(b,t_{1})$$ is , how can I find them in the case , I know what $$t_{0} $$ and $$t_{1}$$ is , sorry for the poor
English but the way.

Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
it's ok now , I got it , no need to answer this post , thank you lol
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
46
Views
6K
  • · Replies 37 ·
2
Replies
37
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K