to plot math funtions