Finding solution of differential equation
<p>I want to find a root X of equation below</p>

<p><a href="http://i.stack.imgur.com/CClq1.png" rel="nofollow"><img src="http://i.stack.imgur.com/CClq1.png" alt="equation"></a></p>

<p>Given Ls is length of something,f is frequency, X is a function of frequency, tgn is group delay and Î»_0 is free space wavelength. If you want to more details, you can reference this document at page 20.</p>

<p><a href="https://cdn.rohde-schwarz.com/pws/dl_downloads/dl_application/00aps_undefined/RAC-0607-0019_1_5E.pdf" rel="nofollow">https://cdn.rohde-schwarz.com/pws/dl_downloads/dl_application/00aps_undefined/RAC-0607-0019_1_5E.pdf</a></p>

<p>Anyway Ls, tgn and Î»_0 these variables can be obtained first.</p>

<p>Then how to find X in Python?
Thanks!</p>

<p>If you want to solve a differential equation, you need some initial state information. Then you can either write your own solver, simplest solution would probably be explicit euler, alternatively you can look into this:</p>

<p><a href="http://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.odeint.html#scipy.integrate.odeint" rel="nofollow">http://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.odeint.html#scipy.integrate.odeint</a></p>

python scipy differential-equations