Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A mechanism known as a four-bar linkage is shown in the figure below. Mechanisms such as this are used in mechanical systems to generate a
A mechanism known as a four-bar linkage is shown in the figure below. Mechanisms such as this are used in mechanical systems to generate a specific output motion in response to an input motion. This four-bar linkage is a one-degree-of-freedom mechanism; if the position of any one of the links is known, the position of all of the other links can be found. Assume that there is a motor driving link 2; if the angle of link 2(theta_2) is specified, the angle of link 4 fa) can be found through the solution of the following equation: I_1 = I_4 cos theta_4 - I_2 cos theta_2 + Squareroot I_3^2 - (I_4 sin theta_4 - I_2 sin theta_2)^2 where (l_i) =is the length of link i. Write a MATLAB script program to find the input angles that would produce an output angle 80 degree, for a system with (l_1) = 6 in, (l_2) = 4 in, (l_3) = 7 in, and (l_4) = 5.2 in. your function should not use the (f_cero) (or any other) built-in Matlab root finding functions. Instead you should write your own Matlab function that uses the bisection method without recursion to find a root. The function should estimate a root of any function, with the root brackets, function handle, and tolerance passed to it as input arguments and the estimated root as the output argument. A mechanism known as a four-bar linkage is shown in the figure below. Mechanisms such as this are used in mechanical systems to generate a specific output motion in response to an input motion. This four-bar linkage is a one-degree-of-freedom mechanism; if the position of any one of the links is known, the position of all of the other links can be found. Assume that there is a motor driving link 2; if the angle of link 2(theta_2) is specified, the angle of link 4 fa) can be found through the solution of the following equation: I_1 = I_4 cos theta_4 - I_2 cos theta_2 + Squareroot I_3^2 - (I_4 sin theta_4 - I_2 sin theta_2)^2 where (l_i) =is the length of link i. Write a MATLAB script program to find the input angles that would produce an output angle 80 degree, for a system with (l_1) = 6 in, (l_2) = 4 in, (l_3) = 7 in, and (l_4) = 5.2 in. your function should not use the (f_cero) (or any other) built-in Matlab root finding functions. Instead you should write your own Matlab function that uses the bisection method without recursion to find a root. The function should estimate a root of any function, with the root brackets, function handle, and tolerance passed to it as input arguments and the estimated root as the output argument
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started