Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Consider the planar linkage shown below. The crank (link with length R) will turn counter-clockwise with a constant angular velocity (θ`).

The slider will experience a force (P) of 100 N directed to the left. Your task is to write a MATLAB program that

(a) Calculates the required input torque (T) and the magnitudes of the pin reaction forces (A, B, and C, along both x and y directions) for two full revolutions (0 ≤ θ ≤ 4Π) of the crank.

(b) You will then use your program to determine how changing the dimension H changes the average magnitudes of the pin reaction forces (refer to the free body diagram for the locations of these pins).

2342_Calculate the required input torque.png

The first task is to determine the angle Φ and the slider position s given the crank angle θ The constraint equations that must be satisfied are:

Rsin(θ)+ Lsin(Φ)= H (1)

Rcos(θ)+ Lcos(Φ) = s (2)

You are required to solve these nonlinear equations for the unknowns the angle Φ and s using the Newton-Raphson method (as used in HW3).

The next task is to solve for the (first and second) time derivatives of Φ and s, given θ (whose value is a constant, see in the figure on page 1). Equations (1) and (2) may be differentiated to obtain the following linear system of equations. You may use the MATLAB backslash operator "\"' to solve this set of equations.

1922_Calculate the required input torque1.png

The next step is to consider the free body diagrams and obtain the corresponding dynamic equations. The free body diagram is below. Note that we are neglecting friction on the slider.

182_Calculate the required input torque2.png

After simplification, the resulting dynamical equations in terms of the unknown reactions (Ax, Ax, Bx, By, Cx, Cy) and torque (T) can be expressed in matrix form as:

1812_Calculate the required input torque3.png

which can be solved using the MATLAB backslash operator "\", by taking the values for the coefficient matrix and right-hand-side vector from the above. Here, the link masses and moment of inertia are

m1 = 15 kg, m2 = 30 kg, m3 = 10 kg. 12 = (m2L2)/12.

In the above matrix, we use the following vectors

11_Calculate the required input torque4.png

Turn in a brief report containing the following:

(i) Title Page, including the title of the project and your name

(ii) Introduction and Objectives section

(iii) Program Design section (describe your program and the functions you used). Include all your M-files.

(iv) Results section, including properly labeled plots for the case where H = 0.25 m:

a. Φ and s vs. θ
b. Φ' and s' vs. θ
c. Φ" and s" vs. θ
d. |A|,|B|,|C|, and T vs. θ

(v) A single plot displaying the average value of the magnitudes of the three pin reaction forces (A, B, and over the complete cycle for the range -0.6 ≤ H ≤ 0.6 m. Results for each pin should be displayed differently (for example. use a different color or a different line type). Include a legend on the plot to label the results for the three different pins.

(vi) Discussion of results, including your conclusion from part (v).

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91411049
  • Price:- $150

Priced at Now at $150, Verified Solution

Have any Question?


Related Questions in MATLAB

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As