User Portlet
Discussions |
---|
Ok yay got rid of that error thank you!! Yea my data is only for w, please tell me there's some simple solution to that? .... Here's what I tried: fit = FindFit[data[[1, 1]], model[a, b, q, v, z, y, d][ w], {{a, 54, 7, 150},... |
There are a couple syntax errors in your code. I would not recommend assigning a set of equations to a variable and then passing that variable into an NDSolve or DSolve. Additionally the constants that are present in your differential equations do... |
This is often harder to answer than it may seem at first. There can be numeric reasons why the WhenEvent isn't keeping your solution from crossing 0. WhenEvents can only detect that the equation has crossed 0. It doesn't predict that it will cross 0... |