haskell,iteration,differentiation

Use flip in conjunction with iterate: (flip diff) "x" f = diff f "x" so iterate ((flip diff) "x") f = [ f, f', f'', ...] ...

You asigned values to all the variables that are on the rhs of x so when you show x you see the value that it took on with the variables that you defined. Rather than input values, why not try solve the ode symbolically if possible? >>> from sympy import...

You could proceed along the array t and look for points where the values change sign. That would indicate the presence of a zero. Actaully, MATLAB's fzero function uses a similar method. You said you didn't use it because you required an array, rather than an anonymous function, but you...

matlab,matrix,numerical-methods,differential-equations,differentiation

Because this is a numerical approximation to the solution of the ODE, you are seeking to find a numerical vector that is representative of the solution to this ODE from time x=0 to x=1. This means that your boundary conditions make it so that the solution is only valid between...

wolfram-mathematica,differentiation

Because the cosine function is even, the two forms are equivalent (cos(x^2 - 1) = cos(1 - x^2)). Apparently the simplification algorithms Mathematica uses were a tad over-enthusiastic in this case....