The Student Room Group

Matlab help plsss :((((

how do i begin using matlab coding to work out Force Vector Resolving, using inputs and a sub-function
(edited 3 years ago)
Reply 1
Original post by cheese13
I dont even know where to start.......Using the force vector diagram in Figure 1, the resultant Force (Fres) acting on the pin is to be
resolved into the separate component force directions, as stated in (a), (b) and (c) below.
The calculations themselves are to be performed in a sub-function, into which the inputs for
Fres, 𝜃 and 𝜙 are to be sent.
The question is split into 2 parts, and you will need to run your sub-function for the values in
each part. In part 1, the inputs to be used are those from the original EG-166 (Engineering
Mechanics) Worksheet 1, Question 4, and for part 2, new values are to be used. The Fres, 𝜃
and 𝜙 input values for parts 1 & 2 are given in Table 1 and should be sent as inputs to the
same sub-function.
The input values and sub-function calculations of the component forces are to be printed in
the MATLAB Command Window; and the MATLAB code is to be incorporated into the single
MATLAB assignment ‘.m’ file.
For both part 1 and part 2, resolve Resultant Force (Fres) in the:
(a) x and y directions (Fx and Fy)
(b) x’ and y directions (Fx’ and Fy)
(c) x and y’ directions (Fx and Fy’)

It's obviously a uni assignment and we're missing the figures/code etc.
Try and ask generic questions about parts you're unsure about. You shouldn't be posting the actual assignment.

Quick Reply

Latest