First order differential equation
Show older comments
Hi, can i ask for help ? I'm solving differential equation:
dP_{n}(t)/dt = P_{n-1}(t) - P_{n}(t) - (n^2 P_{n}(t) - (n+1)^2 * P_{n-1}(t) )
where n = 0:1000
with initial conditions P_{0}(t=0) = 1 - k, P_{1}(t=0)=k and P_{n}(t=0)=0 for n>1
1 Comment
Radka Sochorová
on 9 Dec 2016
Answers (1)
Torsten
on 9 Dec 2016
0 votes
You mean 1000 equations.
Help ODE45
Best wishes
Torsten.
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!