mathematics in python python is powerful tool for mathematical calculations if you are looking for similar using matlabplease take look at these resources basic math functions the python standard library consists of different modules for handling file /obasic mathematicsetc you don' need to install these separatelybut you need to important them when you want to use some of these modules or some of the functions within these modules in this we will focus on the math module that is part of the python standard library the math module has all the basic math functions you needsuch astrigonometric functionssin( )cos( )etc logarithmic functionslog()log ()etc constants like pieinfnanetc etc example using the math module we create some basic examples how to use librarya package or moduleif we need only the sin(function we can do like this from math im por sin ( print (yif we need few functions we can do like this