1 / 17

Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege

Engineering 36. Lab-23 Chp10 Beam VM Diagrams By Calculus. Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu. MATLAB V&M Diagrams. MatLab Code – Part-1. % Bruce Mayer, PE * 31Jul07 % ENGR36 * problem 10.1.28 % file = Prob10_1_28_VM_Plot.m %

Download Presentation

Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Engineering 36 Lab-23 Chp10Beam VM DiagramsBy Calculus Bruce Mayer, PE Licensed Electrical & Mechanical EngineerBMayer@ChabotCollege.edu

  2. MATLAB V&M Diagrams

  3. MatLab Code – Part-1 % Bruce Mayer, PE * 31Jul07 % ENGR36 * problem 10.1.28 % file = Prob10_1_28_VM_Plot.m % % Find V & M functions by calculus % Plot Using this File %% % clear % clears memory % % Calculate PieceWise Shear-Force Functions x1 = 0:.1:4; v1= -12.5*x1.^2+246.67; x2 = 4:0.1:8; v2 = -100*x2+446.67; x3 = 8:0.1:10; v3 = -353.3*(x3./x3) x4 = 10:0.1:12; v4 = 300*(x4./x4); x5 = 12.01; v5 = 0; % % Combine the pieces by appending xv = [x1 x2 x3 x4 x5]; v = [v1 v2 v3 v4 v5]; % plot v(x); use formating tools to adjust appearance plot(xv,v) ,xlabel('x (ft)'),ylabel('V (lbs)'), title('P10.1.28 Vertically Loaded Beam'), grid display('Shear-force plot complete; hit any key to continue') pause %

  4. MatLab Code – Part-2 % Calculate PieceWise Bending-Moment Functions m1 = -25*x1.^3/6 + 246.67*x1; m2 = -50*x2.^2 + 446.67*x2 - 266.67; m3 = -353.3*x3 + 2933; m4 = 300*x4-3600; % Combine the pieces by appending xm = [x1 x2 x3 x4]; m = [m1 m2 m3 m4]; % plot v(x); use formating tools to adjust appearance plot(xm,m) ,xlabel('x (ft)'),ylabel('M (ft-lbs)'), title('P10.1.28 Vertically Loaded Beam'), grid

More Related