project1

project1 - 0.147 0.121 0.0987 0.0801 0.0635 0.0502 0.037...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%Define Variables %================= %W = total load W %l = distance between supports %L = total length of beam %c = distance from end to support % %Define constants W = 1000; L = 0.400; E = 7.245*10^10; I = (0.050*(.010)^3)/12; l=[0.060:0.010:0.340]; l %Define range of spacing to be calculated for i=1:length(l) ll=l(i); c(i) = 0.5*(L-ll); y_end(i) = (W*c(i)/(24*E*I*L))*(3*c(i)^2*(c(i)+2*ll)-ll^3); y_center(i) = (W*ll^2/(384*E*I*L))*(5*ll^2-24*c(i)^2); end e %Enter data from FEA y_end2 = [0.759 0.67 0.589 0.516 0.451 0.391 0.338 0.289 0.24 0.209 0.17.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: .. 0.147 0.121 0.0987 0.0801 0.0635 0.0502 0.037 0.027 0.02 0.0126 0.00988. .. 0.005 0.001 0 0 0 0 0]; y_center2 = [0 0 0 0 0 0 0 0 0.001 0.001 0.0088 0.0147 0.0182 0.02 0.025. .. 0.032 0.0401 0.0497 0.0595 0.0711 0.0842 0.0988 0.115 0.133 0.154 . .. 0.177 0.202 0.229 0.26]; %Plot all data together figure(1) l=l.*1000; plot(l,y_end.*1000,l,y_center.*1000,l,y_end2,l,y_center2); legend('y end hand','y center hand','y end FEA','y center FEA'); ylabel('Displacement(mm)'); xlabel('Lug Separation (mm)');...
View Full Document

This note was uploaded on 07/20/2009 for the course AME 308 taught by Professor Shiflett during the Spring '07 term at USC.

Ask a homework question - tutors are online