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