--> //Determining the forces in bars AB and AC --> //Refer fig 2.20(a) and (b) --> //Select AB and AC as x and y axes --> //Resolving the forces we get --> F1=0 //N F1 = 0. --> F2=40*cosd(30) //N F2 = 34.641016 --> printf("Force in bar AB is F1=%.0f N and force in bar AC is F2=%.1f N",F1,F2) Force in bar AB is F1=0 N and force in bar AC is F2=34.6 N