example plotting trigonometric functions in the example above we used some of the trigonometric functiosn in basic calculations lets see if we are able to plot these functions im po rt math mt im po rt xdata ydata in range ( xdata append mt ydata append xdata ydata show listing plotting trigonometric functions in the example we have plotted sin( )we can easily extend the program to plot cos( )etc for more information about the functions in the python standard librarysee[end of exampleexample trigonometric functions using numpy the problem with using the trigonometric functions in the the math module from the python standard library is that they don' handle an array as input we will use the numpy library instead because they handle arraysin addition to all the handy functionality in the numpy library im po rt numpy np im po rt xstart np increment np xstop np