Question: Write a computer program in MATLAB that can be used to determine the magnitude and direction of the resultant of n coplanar forces applied at

Write a computer program in MATLAB that can be used to determine the magnitude and direction of the resultant of n coplanar forces applied at a point A. the problem is completed i need to understand how to apply the code. or if the code is correct. a code is attached below in the comments

Show all steps: OFF
Bookmarked
  1. Chapter 2

    1. 1P
    2. 2P
    3. 3P
    4. 4P
    5. 5P
    6. 6P
    7. 7P
    8. 8P
    9. 9P
    10. 10P
    11. 11P
    12. 12P
    13. 13P
    14. 14P
    15. 15P
    16. 16P
    17. 17P
    18. 18P
    19. 19P
    20. 20P
    21. 21P
    22. 22P
    23. 23P
    24. 24P
    25. 25P
    26. 26P
    27. 27P
    28. 28P
    29. 29P
    30. 30P
    31. 31P
    32. 32P
    33. 33P
    34. 34P
    35. 35P
    36. 36P
    37. 37P
    38. 38P
    39. 39P
    40. 40P
    41. 41P
    42. 42P
    43. 43P
    44. 44P
    45. 45P
    46. 46P
    47. 47P
    48. 48P
    49. 49P
    50. 50P
    51. 51P
    52. 52P
    53. 53P
    54. 54P
    55. 55P
    56. 56P
    57. 57P
    58. 58P
    59. 59P
    60. 60P
    61. 61P
    62. 62P
    63. 63P
    64. 64P
    65. 65P
    66. 66P
    67. 67P
    68. 68P
    69. 69P
    70. 70P
    71. 71P
    72. 72P
    73. 73P
    74. 74P
    75. 75P
    76. 76P
    77. 77P
    78. 78P
    79. 79P
    80. 80P
    81. 81P
    82. 82P
    83. 83P
    84. 84P
    85. 85P
    86. 86P
    87. 87P
    88. 88P
    89. 89P
    90. 90P
    91. 91P
    92. 92P
    93. 93P
    94. 94P
    95. 95P
    96. 96P
    97. 97P
    98. 98P
    99. 99P
    100. 100P
    101. 101P
    102. 102P
    103. 103P
    104. 104P
    105. 105P
    106. 106P
    107. 107P
    108. 108P
    109. 109P
    110. 110P
    111. 111P
    112. 112P
    113. 113P
    114. 114P
    115. 115P
    116. 116P
    117. 117P
    118. 118P
    119. 119P
    120. 120P
    121. 121P
    122. 122P
    123. 123P
    124. 124P
    125. 125P
    126. 126P
    127. 127RP
    128. 128RP
    129. 129RP
    130. 130RP
    131. 131RP
    132. 132RP
    133. 133RP
    134. 134RP
    135. 135RP
    136. 136RP
    137. 137RP
    138. 138RP
  2. Chapter 3

  3. Chapter 4

  4. Chapter 5

  5. Chapter 6

  6. Chapter 7

  7. Chapter 8

  8. Chapter 9

  9. Chapter 10

Problem

Determine the x and y components of each of the forces shown.

Write a computer program in MATLAB that can be used to determine

Fig. P2.24

Step-by-step solution
  1. Step 1 of 4

    the magnitude and direction of the resultant of n coplanar forces applied at a point A. the problem is completed i need to understand

    Comment
  2. Step 2 of 4

    The forces can be resolved in x and y directions. First, we determine the x and y components of the 120 N force.

    how to apply the code. or if the code is correct. a

    code is attached below in the comments Show all steps: OFF Bookmarked

    Chapter 2 1P 2P 3P 4P 5P 6P 7P 8P 9P 10P

    11P 12P 13P 14P 15P 16P 17P 18P 19P 20P 21P 22P

    Comment
  3. Step 3 of 4

    Similarly, find out the x and y components of the 80 N force

    23P 24P 25P 26P 27P 28P 29P 30P 31P 32P 33P 34P

    35P 36P 37P 38P 39P 40P 41P 42P 43P 44P 45P 46P

    47P 48P 49P 50P 51P 52P 53P 54P 55P 56P 57P 58P

    59P 60P 61P 62P 63P 64P 65P 66P 67P 68P 69P 70P

    Comment
  4. Step 4 of 4

    For force component 150 N, the x component can be obtained as

    71P 72P 73P 74P 75P 76P 77P 78P 79P 80P 81P 82P

    83P 84P 85P 86P 87P 88P 89P 90P 91P 92P 93P 94P

    95P 96P 97P 98P 99P 100P 101P 102P 103P 104P 105P 106P

    107P 108P 109P 110P 111P 112P 113P 114P 115P 116P 117P 118P

    Comment

    Executable Code : n=input('Enter the number of forces n : '); Fx=0; Fy=0; for i=1:n fprintf('Enter tha value of F%d : ',i); F(i)=input(''); fprintf('Enter tha value of thetha%d in degree : ',i); th(i)=input(''); Fx=Fx+F(i)*cosd(th(i)); Fy=Fy+F(i)*sind(th(i)); end Fr=sqrt(Fx^2+Fy^2); tr=atand(Fy/Fx); fprintf('The magnitude of the resultant force is %f ',Fr) fprintf('The direction of the resultant force is %f degree from x-axis ',tr);

    out put:

120 N SO N 150 N 30 35 40

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!