- #1
manifold
- 3
- 0
Member warned about posting with no template
Hello everyone; i'd like some help in this problem : i want to solve num this differential equation
{ y"(t)+t*cos(y)=y } by the Taylor method second order expansion. i first have to make this a first order differential equation by taking this vector Z=[y' y] then we have Z'=[y" y'] which equal Z'=[y-t*cos(y) y'] and then I put w=y' after that I use the Taylor formulat w(n+1)=w(n)+h*[y(n)-t(n)*cos(y(n))]+h^2/2*[...] here i get confused. i must put the derivative of (y-t*cos(x)) over t and then over y... is it true that when I derive over t I must derive y too over t or w or i should consider them a constant.
then y(n+1)=y(n)+h*w(n)+h^2/2[d(w)/dt] here as well i don't know if that is true or not.
{ y"(t)+t*cos(y)=y } by the Taylor method second order expansion. i first have to make this a first order differential equation by taking this vector Z=[y' y] then we have Z'=[y" y'] which equal Z'=[y-t*cos(y) y'] and then I put w=y' after that I use the Taylor formulat w(n+1)=w(n)+h*[y(n)-t(n)*cos(y(n))]+h^2/2*[...] here i get confused. i must put the derivative of (y-t*cos(x)) over t and then over y... is it true that when I derive over t I must derive y too over t or w or i should consider them a constant.
then y(n+1)=y(n)+h*w(n)+h^2/2[d(w)/dt] here as well i don't know if that is true or not.