# Matlab_HW3 - PROJECT 3 SOLUTION MATLAB Script for PROBLEM...

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

PROJECT 3 SOLUTION MATLAB Script for PROBLEM #1: %Problem 1. Find the inverse and the determinant of the following matrices. format short digits(4); %Part A. %Define matrix. A=[6 5 8 8 1 2 7 4 3] %Find the inverse and the determinant. A1=inv(A) d1=det(A) %Part B. %Define matrix. B=[1 -2 3 -4 2 3 -4 5 -3 4 5 6 4 -5 -6 7] %Find the inverse and the determinant. B1=inv(B) d2=det(B) Running this script results in the following output: A1 = -0.0417 0.1417 0.0167 -0.0833 -0.3167 0.4333 0.2083 0.0917 -0.2833 d1 = 120 B1 = 0.3947 0.2807 0.0088 0.0175 0.0421 0.1877 -0.0035 -0.1070 0.2158 0.0246 0.1070 0.0140 -0.0105 -0.0053 0.0842 0.0684 d2 = 1140 MATLAB Script for PROBLEM #2: %Problem 2. %First we consider door AB: %Ax-Bx=0 - Force balance in x-direction %Ay+By-2000/2=0 - Force balance in y-direction %2000/2*(7.5/2*cos(theta))-By*(7.5*cos(theta))-Bx*(7.5*sin(theta))=0 - Torque on A: %Let's consider door BC: %Bx-C=0 - Force balance in x-direction

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

View Full Document
%P-2000/2-By=0 - Force balance in y-direction
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 01/26/2009 for the course ENGR ENGR1100 taught by Professor Spilker during the Fall '09 term at Rensselaer Polytechnic Institute.

### Page1 / 2

Matlab_HW3 - PROJECT 3 SOLUTION MATLAB Script for PROBLEM...

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

View Full Document
Ask a homework question - tutors are online