I want to run a for cycle with ode45 inside. However, some parameters that I define in odefun (the differential equation in order to dy/dt, for instance) assume different values in each iteration of that cycle.
I find help examples showing odefun only receiving t and y... Is...
I substituted the fraction above by the cot(t) and then I made the primitive by parts, considering
u'=1 and thus u=t
v=cot(t) and thus v'=-2cot(t)/((sin(t))^2)
Then, I tried to develop the following...
Ok, I'm stucked again... I tried:
Any ideas? I tried partial and substitution but it's a mess...
Help in a primitive!!!
Hello guys! Please, I'm really needing help in a primitive... I don't know, maybe it has a simple solution, but I'm tired and blocked on this... Can you give some lights? Here goes the equation: