This is method method for calculating value of function and return it.
Implemented in com::cosylab::gui::components::r2::chart::SinusFunction.