#!/usr/koeki/bin/ruby # coding: euc-jp def f(x) 2*x + 1 end