Solving Statics Problems with Matlab