Runge Kutta Method: Solve Example with MATLAB

  • Context: MATLAB 
  • Thread starter Thread starter num3n
  • Start date Start date
  • Tags Tags
    Method Runge kutta
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
num3n
Messages
1
Reaction score
0
hello all dear

please help me
can solve this Example By Simulation With matlab
 

Attachments

  • 45978de1ada5246b1621b793caa1c02bf386de6e798f2d726652136470493a69.jpg
    45978de1ada5246b1621b793caa1c02bf386de6e798f2d726652136470493a69.jpg
    25.9 KB · Views: 526
num3n said:
can solve this Example By Simulation With matlab
I am not quite sure of your parameters. As far as I can make out your equation is [itex]h''+\frac{1}{r}h'=0[/itex]. Now I wonder: Is r a constant? If so, just integrate and get [itex]h'+\frac{1}{r}h=C[/itex] (C is a constant) and from there [itex]h(x) = C_{2}+C\cdot x + C_{1}e^{\frac{-x}{r}}[/itex]. Nom determine the constants to fit your constraints.