Help with this problem...

18 views (last 30 days)
ken  masters
ken masters on 9 Jun 2011
Answered: Danish Saleem on 30 Nov 2021
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 Comments
Sean de Wolski
Sean de Wolski on 9 Jun 2011
Looks like the numbers are getting bigger - a characteristic of a cantilever beam undergoing loading.
Matt Fig
Matt Fig on 9 Jun 2011
http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers

Sign in to comment.

Answers (3)

Bjorn Gustavsson
Bjorn Gustavsson on 9 Jun 2011
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 on 30 Nov 2021
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 on 30 Nov 2021
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.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!