Static and dynamics stress analysis of spur gear considering effects of geometric and dynamic parameters