I wrote the following code to derive an analytical solution to nonlinear equation but it gives an error. Could you please help me to fix it? Or any suggestion to solve in an analytical way. Thanks
I'm afraid that the nonlinear differential equation may not have an analytical solution. In such cases, you can utilize the 'ode45' solver to obtain a numerical solution.
I have already derive a numerical solution by using ode45 in matlab and also in mathematica. I need to derive an analytical solution. Yes, maybe there is no an explict analytical solution. But at least I tried to find plot(lxl,t), if it is possible.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.