min-function gives wrong anwers
try this (g5 or g6):
I get (1.645, 0.9973) - the right min-value is 0.9511.
(With two decimals, you get 1, which is the max-value!)
min(f,0.4*pi-n*0.01,0.6+n*0.01) gives also wrong answers, untill n=5, then I get the right answer.
If the interval is not symmetric, then I get right value. ("not symmetric" = "mid point is not 0.5*pi")
t. Heikki Höijer