Help with this problem...

9 次查看(过去 30 天)
ken  masters
ken masters 2011-6-9
the following problem should be completed by creating: function m-file with 4 input parameters and 2 output parameters script m-file using the testing parameters to call the function. Assuming that SI units are used in the formula, you need to perform unit conversions for the testing parameters in the English units
PROBLEM***write a function to plot the displacement of a cantileverd beam under a uniform load. in addition to creating the plot, the function should return the maximum deflection and angle between the horizontal and the surface of the beam at its tip. the formulas for the displacement y and tip angle theta are
y= -(w(x^2)/(24EI))(6(L^2)-4Lx+(x^2)) and theta = (1/6)((W(L^3))/(EI))
where w is the load per unit lenght, E is youngs modulus for the beam, I is the moment of inertia of the beam and L is the lenght of the beam. Test your function with E= 30, I=0.163 L=10, w=100
  12 个评论
Sean de Wolski
Sean de Wolski 2011-6-9
Looks like the numbers are getting bigger - a characteristic of a cantilever beam undergoing loading.
Matt Fig
Matt Fig 2011-6-9
http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers

请先登录,再进行评论。

回答(3 个)

Bjorn Gustavsson
Bjorn Gustavsson 2011-6-9
You should learn now sooner than later to comment your code! Write between each line what it is supposed to do. If you reach a comment-to-code ratio of something like 2/1 it is no bad thing. This is actually the first thing you should learn. If you make clear and accurate descriptions of what it should do, you will make less mistakes, find mistakes earlier and generaly becomme a better person.

Danish Saleem
Danish Saleem 2021-11-30
a cantilever beam is a beam that is clamped at one end and is free at the other end. The deflection y at point x of a beam loaded with a uniformly distributed load w is given by the eaquation y=(-w/24EI)(x^4-4Lx^3+6L^2X^2) where E is the elastic modulus I is the moment if inertia and L is the length of a beam. For beam L=6M, E=70*10^9 Pa I=9.19*10^-6 m^4 and w=800N/m. Make a plot of the deflection of the beam y as a function of x.

Danish Saleem
Danish Saleem 2021-11-30
a cantilever beam is a beam that is clamped at one end and is free at the other end. The deflection y at point x of a beam loaded with a uniformly distributed load w is given by the eaquation y=(-w/24EI)(x^4-4Lx^3+6L^2X^2) where E is the elastic modulus I is the moment if inertia and L is the length of a beam. For beam L=6M, E=70*10^9 Pa I=9.19*10^-6 m^4 and w=800N/m. Make a plot of the deflection of the beam y as a function of x.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by