Question

Throughout the next several weeks you will be developing a computer program to perform a

complete analysis of a four-bar linkage. This current assignment only requires the position analysis.

Velocity, acceleration, and force analyses will be added in the future. You may use any

programming language. I suggest that you will want a procedural language (eg, Matlab, C++,

Fortran).

Input the rigid dimensions of a four-bar linkage. Your program should be flexible enough to readily

accept any dimensions, ie, it should not be hard-wired for only one specific set of dimensions.

Perform a position analysis of the linkage for the complete range of motion of the input link. Allow

for choice of form of assembly.

Inputs: R₁, R₂, R3, R4. Bp. p.Open or crossed, increment of 2

Outputs: 3, 4, and the absolute position of P, all tabulated for the entire range of 2

(b)

(c)

Rp

(d)

R₂

Homework 4

ME 3313

Fall 2023

Assigned: 9/5/2023

Bp

Y

answers.

Program listing:

P

0₂

03

R₁

Each programming submission should include the following, submitted as a scanned image or pdf

file:

(a)

R4

04

X

Cover memo:

This memo should briefly summarize what follows. Describe any known bugs or incorrect

This is a text document of the program code, not the MATLAB executable. The program

must be documented. Make it easy to understand what is going on.

Sample run:

Show a sample run with the output of the program using the following data:

R₁ = 0.6 m; R₂= 0.2 m; R3 = 0.3 m; R4= 0.4 m; Bp = 0.2 m; p= 35°

Verification of answers:

It is important to verify your answers. In addition to the penalty for incorrect answers,

you can lose another 10% for not knowing that your answers are incorrect. There is no

excuse for not checking the validity of your numbers. Don't skip or skimp this part of the

assignment. Include documentation that shows your verification. You will want to spot

check the results for at least one position, including open and crossed configuration. You

will also want to confirm that your range of motion is correct.

Question image 1