a python script for caculer the director of a right math coefficient. This script is a test for me.