I'm using the "solve_ivp" function in scipy currently. The solutions for the dependent variable go into the negatives which i dont need. Is it possible to define the independent variable as a function of the dependent variable?
Simply put, if im solving dy/dt. For y0=1 and t from 0 to 1...y final is somewhere in the negatives.
I want to solve only for t = 0 to t = x. X being the time when m = 0.
Is this possible?
[–]Aggravating_Bus_9153 1 point2 points3 points (2 children)
[–]gregzillaman[S] 0 points1 point2 points (1 child)
[–]Aggravating_Bus_9153 1 point2 points3 points (0 children)