/* ** Lesson 6.1: One-Variable Scalar-Valued Function ** f(x) = ln(x) - x^2 */ use gpe2; output file=gpe\output6.1 reset; fn f(data,x)=ln(x)-x^2; call reset; _nlopt=1; _iter=100; _b=0.5; call estimate(&f,0); end;