clc; us=0.25;// Coeffiecient of static friction //Applying equillibrium equation we get relation in x printf("Apply equillibrium equations. It is theoritical part. \n"); x=150*2-18.75*2+37.5;//mm , Distance at which the applied load can be supported printf("Minimum distance at which the applied load can be supported is %.0f mm\n",x);