I am trying to iterate a solution to a non-linear differential equation - but I am unable to evaluate a statement within a Do loop
Code:
Do[q = Cos[Evaluate[x'[i]/.up]]; If[ q <= 1, Print[q], Print[i], Print[i^2]], {i, 0.1, 1, .1}]
x'[i] is a solution to NDSolve
The output is i^2, which is...