Homework1-Solns-Complete

Homework1-Solns-Complete - % ME 104: Engineering Mechanics...

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

View Full Document Right Arrow Icon
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

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

View Full DocumentRight Arrow Icon
% ME 104: Engineering Mechanics II % Solution to Homework 1: Problem 5 % Prepared by David A. Moody % Date: January 25, 2011 %-------------------------------------------------------------------------- % Main Code for Problem 5 close all ; clear all ; clc; L1=12; % distance to box [ft] L2=14; % distance to end of box [ft] h=-1/3; % vertical distance from starting point to box [ft] theta=30*pi/180; % given angle [radians] g=32.2; % gravity in [ft/s^2] T1=(2/g*(L1/(cot(theta))-h))^(1/2); % Time for particle to reach L1 [sec] T2=(2/g*(L2/(cot(theta))-h))^(1/2); % Time for particle to reach L2 [sec] vo1=((-g/2*L1^2/(cos(theta))^2)/(h- ... (sin(theta)*L1)/cos(theta)))^0.5; % initial velocity [ft/sec] vo2=((-g/2*L2^2/(cos(theta))^2)/(h- ... (sin(theta)*L2)/cos(theta)))^0.5; % initial velocity [ft/sec] t=linspace(0,T2,10); % time for plot [sec] vo=linspace(vo1, vo2,5); % initial velocity [ft/sec] % Calculating outputs for a range of initial velocity (vo) for i = 1:length(vo) x(:,i)=vo(i)*cos(theta)*t;
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/22/2012 for the course ME 104 taught by Professor Oreilly during the Spring '08 term at Berkeley.

Page1 / 13

Homework1-Solns-Complete - % ME 104: Engineering Mechanics...

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

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