Question

In: Mechanical Engineering

use matlab: A cable of length Lc supports a beam of length Lb so that it...

use matlab:

A cable of length Lc supports a beam of length Lb so that it is horizontal when the weight W is attached to the beam end. The tension force T in the cable is given by the following equation: T=(Lb*Lc*W)/(D*sqrt(Lc^2-D^2)) Where D is the distance of the cable attachment point to the beam pivot. 1. Create a function M-file that evaluates the tension T as a function of D. In this function M-file the parameters Lb, Lc, and W should be declared global. 2. Create a script M-file that creates these global variables and: a) Prompts for and accepts the following values from the Command Window : W = 400N, Lb= 5 m, and Lc = 3 m (the weight is in Newtons, and the lengths are in meters) b) Uses these values and the fminbnd function to compute and display in the Command Window the value of D that minimizes the tension, T, and the minimum tension value. c) Uses fzero to determine by how much the value of D can vary from it

Solutions

Expert Solution

(a). The M-file:

x = 10; W = 400;
Lb = 3;
Lc = 5;
D = [0:0.01:Lb];
T = Lb*Lc*W./(D.*sqrt(Lb^2-D.^2));
[minT, k] = min(T)
minD = D(k)
Tension_at_min=T(k)
Distance_at_min=D(k)
%plotting
Dplot = [1.5:0.001:2.2];
upper = 1.1*minT
Tplot = Lb*Lc*W./(Dplot.*sqrt(Lb^2-Dplot.^2));
plot(Dplot,Tplot,[1.5,2.2],[upper,upper])
xlabel('D (mm)');
ylabel('T (N)')
grid

minT =  1333.3
k =  213
minD =  2.1200
Tension_at_min =  1333.3
Distance_at_min =  2.1200
upper =  1466.7

(b), In Command Window:

minT =  1333.3
k =  213
minD =  2.1200
Tension_at_min =  1333.3
Distance_at_min =  2.1200
upper =  1466.7

(c) The upper tension value is 1.1(1333) = 1467 N. The intersection of the two lines on the plot gives the solution, which is approximately D = 1.6 m (1.62 is a more accurate value)

I hope its helped. Let me know whether the part (c) is correct or not.


Related Solutions

On a double supported beam with total length of 48” applying 40 lb total load on...
On a double supported beam with total length of 48” applying 40 lb total load on two hangers 6” from each support. If the beam had a rectangular shape with 2” width and .5” thickness what is the stress on each load? With is the maximum deflection at the sender of the beam. E=300000000psi
A 100-lb driver and a 2000-lb tractor lift 900 lb of gravel. Create a MATLAB program...
A 100-lb driver and a 2000-lb tractor lift 900 lb of gravel. Create a MATLAB program that will:   Determine the reaction at each of the two rear wheels and two front wheels. The shift has changed and a new driver dumped some of the gravel. Ask the user the weight of the new driver and the weight of the gravel left in the tractor.   Calculate the new reaction at each of the two rear wheels and two front wheels.   Provide...
Matlab code for resonant frequency of coaxial cable
Matlab code for resonant frequency of coaxial cable  
1 design a column that supports 4500 lb if it is 12 feet long
1 design a column that supports 4500 lb if it is 12 feet long
A cable that is anchored at P (0,0,0) and passes through Q (2,8,5) supports a 100...
A cable that is anchored at P (0,0,0) and passes through Q (2,8,5) supports a 100 lb weight as shown. Express the tension T in the cable in Cartesian vector form.          
Consider Fraunhofer diffraction of coherent light (e.g., a laser beam) from a double slit. Use Matlab...
Consider Fraunhofer diffraction of coherent light (e.g., a laser beam) from a double slit. Use Matlab (or some other program) to calculate and plot the diffraction pattern you would expect from two slits, each 0.230 mm wide, with a center-to-center separation of 0.853 mm, on a screen that is 62.3 cm downstream of the slit, when illuminated by a helium-neon laser (??=633 nm). Turn in a printout of your plot – which should have properly labeled axes, etc., of course!
Consider a simply supported beam of length L. The beam experiences a parabolically varying distributed load...
Consider a simply supported beam of length L. The beam experiences a parabolically varying distributed load that varies from 0 at the left support, to a maximum w at midspan, and back to 0 at the right support. The beam has stiffness properties EI. Give a mathematical equation that gives the value of the distributed load intensity at any distance z along the beam in terms of w, L and z. Draw the SFD and BMD of the beam, giving...
a reinforced concrete bearing wall supports a 12" wide beam bearing in the full width of...
a reinforced concrete bearing wall supports a 12" wide beam bearing in the full width of the wall spaced 10' o.c. . The bottom of the wall is a fixed connection. the top of the wall is a pinned connection. The wall is 20' tall. The load from each beam, Pu is 30 kips. Determine whether a 10" wall will work for this condition. select vertical and horizontal reinforcing steel.
A prestressed concrete beam with a rectangular sectin 120 mm wide by 300 mm deep supports...
A prestressed concrete beam with a rectangular sectin 120 mm wide by 300 mm deep supports a a live load of 3 kN/m. The spanning over 6 m is prestressed by a straight cable carrying an effective prestressing force of 200000 N located at an eccentricity of 55 mm, the density of concrete 24 kN/m3. Find : (1)- The resultant stress distribution for the centre of span cross section of the beam (2)- the presressing force which can balance the...
A high-speed lifting mechanism supports a 710 kg object with a steel cable 20.0 m long...
A high-speed lifting mechanism supports a 710 kg object with a steel cable 20.0 m long and 4.00 cm2 in cross-sectional area. (a) Determine the elongation of the cable. _____ mm (b) By what additional amount does the cable increase in length if the object is accelerated upward at a rate of 2.6 m/s2? _____ mm (c) What is the greatest mass that can be accelerated upward at 2.6 m/s2 if the stress in the cable is not to exceed...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT