Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

Fig. P2.24

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

    image text in transcribed image text in transcribed

    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.

    image text in transcribed

    image text in transcribed

    image text in transcribed

    image text in transcribed

    Comment
  3. Step 3 of 4

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

    image text in transcribed

    image text in transcribed

    image text in transcribed

    image text in transcribed

    Comment
  4. Step 4 of 4

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

    image text in transcribed

    image text in transcribed

    image text in transcribed

    image text in transcribed

    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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil

1st Edition

1558603921, 978-1558603929

More Books

Students also viewed these Databases questions

Question

What roles have these individuals played in your life?

Answered: 1 week ago

Question

=+ Should the MNE belong (why, why not)?

Answered: 1 week ago