Hi guys,
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:
\frac{1}{4}\int\frac{sin^{2}\left(t\right)+cos^{2}\left(t\right)}{sin^{2}\left(t\right)}dt
which gave:
\frac{t}{4}+\int\frac{cos^{2}\left(t\right)}{sin^{2}\left(t\right)}dt
Any ideas? I tried partial and substitution but it's a mess...
Help in a primitive!!!
Homework Statement
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:
\int\frac{dx}{x^{2}\sqrt{4-x^{2}}}
Homework...