calculation of static friction coefficient