added the python code that use function in library to calculate for specific parameter