Hello all, I am trying to solve time dependent coupled differential equations with know initial conditions. I am just a beginner in terms of coding so can someone please suggest the best possible function that can be used for this purpose? I am currently trying NDSolve and NDSolveValue to see if I can get any reasonable solution. Also, I would really appreciate if someone can give me an example of this kind. Thanks a lot!
Generally speaking, there are two methods to consider: DSolve can be used to obtain a symbolic solution, and that can be used to obtain solutions having particular numerical values. However, many differential equations do not have closed form solutions, so for them this method in unavailable. For those, NDSolve and NDSolveValue can be used to provide numerical solutions in the form of interpolating functions. The attached notebook demonstrates the second case in the form of a solution for the trajectory of a ballistic projectile subject to a drag proportional to v^2.
Thanks David. I was able to solve my problem using NDSolveValue.