System of Differential Equations

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
confused student
Messages
2
Reaction score
0

Homework Statement


upload_2019-2-24_17-10-45.png

(It should be noted that the actual problem has specific values associated with a, b, and c. However, at this point I'm trying to find a method to solve the problem rather than a specific solution).

Homework Equations


upload_2019-2-24_17-10-38.png


The Attempt at a Solution


When I was trying to solve this initially, I didn't realize that D changed with respect to t; for that reason my solution only applies for when D is constant. I calculated dv/dt with a constant D and multiplied that slope by small increments of t in order to get values of v. I know there are more efficient methods to do numerical integration like the Runge Kutta method, but I was trying to blow through the problem without them. My excel sheet started giving non real numbers when I added in the second differential equation (dD/dt), so I'm really stuck. How should I go about solving this with the additional differential equation? Thank you in advance for any assistance!
upload_2019-2-24_17-10-56.png
 

Attachments

  • upload_2019-2-24_17-9-50.png
    upload_2019-2-24_17-9-50.png
    23.3 KB · Views: 364
  • upload_2019-2-24_17-10-38.png
    upload_2019-2-24_17-10-38.png
    6.5 KB · Views: 602
  • upload_2019-2-24_17-10-45.png
    upload_2019-2-24_17-10-45.png
    18.9 KB · Views: 753
  • upload_2019-2-24_17-10-56.png
    upload_2019-2-24_17-10-56.png
    33.9 KB · Views: 634
Physics news on Phys.org
Hello and :welcome:
confused student said:
started giving non real numbers
What does that look like, imaginary numbers ? Or just error indications ?

Can happen if D becomes negative. I would first try a smaller value for ##a## and/or a smaller step size
 
  • Like
Likes   Reactions: confused student
So I kept fiddling with it, and the problem was that D changed too quickly; I made my step size smaller and made my constants smaller. That generated actual numbers. One thing I'm still not sure of is my method to generate the plots. Does it make sense to multiply the slope by small increments of t if there is no t term in the differentials?