Message Boards Message Boards

GROUPS:

How to solve time dependent coupled differential equations?

Posted 5 years ago
6481 Views
|
2 Replies
|
0 Total Likes
|

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!

POSTED BY: Sid D
Answer
2 Replies
Posted 5 years ago

Hi Sid,

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.

Kind regards, David

Attachments:
Posted 5 years ago

Thanks David. I was able to solve my problem using NDSolveValue.

POSTED BY: Sid D
Answer
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract