added logscale graph and explanations for functionss