door - function door(a,b,m,g) % Function door % Solve for...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 function door(a,b,m,g) % Function door % Solve for reactions in a door with two hinges assuming the system is % 1) Statically determinate % 2) Overdetermined % 3) Underdetermined % % The top hinge is 1, and bottom hinge is 2, the door width is a, the % door height is b, the door mass is m, and gravity is g. % % Usage: door(a,b,m,g) % % Inputs: a = door width % b = door height % m = door mass % g = gravity % The top hinge is 1 and the bottom hinge is 2. % X is to the right, Y is verticall upward, and Z is % perpendicular to the door face. The hinges are on the % left side of the door. % % Outputs: Hinge reaction loads Fx, Fy, and Mz for each of the three cases above, % where x = [Fx format short % Case 1: Statically determinate system % Set reaction loads on hinge 2 = 0 disp('Case 1: Statically determinate system') A1 = eye(3) detA1 = det(A1) rankA1 = rank(A1) condA1 = cond(A1) rcondA1 = rcond(A1) b1 = [0 % Solve using the backslash operator disp('Solution using backslash operator')
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/05/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Page1 / 6

door - function door(a,b,m,g) % Function door % Solve for...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online