From: marjan on
Hello,
Please help me with this;

I try to numerically solve this equation:

sol = NDSolve[{D[Y[z], z, z] + 10^12 Sin[Y[z]] Cos[Y[z]] ==
0, (D[Y[z], z] /. z -> 0) ==
2*10^6, (D[Y[z], z] /. z -> 7*10^-6) == 2*10^6},
Y[z], {z, 0, 7*10^-6}, WorkingPrecision -> 12, PrecisionGoal -> 7,
Method -> {"ExplicitRungeKutta", "DifferenceOrder" -> 7},
InterpolationOrder -> All]

after finding the best value for Precisions I got this error

NDSolve::berr:

There are significant errors {-796330.005638,-795426.001883} in the
boundary value residuals. Returning the best solution found

{{Y[z] ->InterpolatingFunction[{{0,7.00000000000=D710^-6 }},<>][z]}}

What is this error, Can I accept the solution even with this error?
Regards
Marjan