System of Differential Equations

  • #1
confused student
2
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: 306
  • upload_2019-2-24_17-10-38.png
    upload_2019-2-24_17-10-38.png
    6.5 KB · Views: 521
  • upload_2019-2-24_17-10-45.png
    upload_2019-2-24_17-10-45.png
    18.9 KB · Views: 679
  • upload_2019-2-24_17-10-56.png
    upload_2019-2-24_17-10-56.png
    33.9 KB · Views: 551
Physics news on Phys.org
  • #2
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 confused student
  • #3
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?
 
  • #4
There is a ##dt## in the denominator, I should hope ?
What you do is you integrate: ##f(t+\Delta t) = f(t) + f'(t) \Delta t##
 

Similar threads

Replies
28
Views
3K
Replies
16
Views
1K
Replies
4
Views
2K
Replies
3
Views
992
Replies
13
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
Replies
6
Views
2K
Replies
4
Views
5K
Back
Top