Try it for yourself, the same code works:

"(1.0/50.0)*(Math.sqrt(5.0)*Math.sqrt(x+125.0)+25.0)"

-- 
Posted via http://www.ruby-forum.com/.