Homework-4-Solutions

Homework-4-Solutions - % % % % ME 104: Engineering...

Info iconThis preview shows pages 1–15. 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
Background image of page 10
Background image of page 11

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

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

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 4: Problem 6 % Prepared by Mohammad Rafiee % Date: Feburary 18, 2011 %---------------------------------------------------------------------- clc; clear all ; % ----------------------- defining the parameters --------------------- g = 9.81; r0 = 0.1; l = 1; w0 = 1; % ----------------------- calculating r, theta, x and y --------------- t = [0:.01:2.99]; r = r0*cosh(w0*t); theta = w0*t; x = r.*cos(theta); y = r.*sin(theta); % ----------------------- the bonus part: after t=3 sec --------------- Vr = r0*w0*sinh(w0*t); Vtheta = r0*w0*cosh(w0*t); Vx_0 = Vr(end)*cos(theta(end)) - Vtheta(end)*sin(theta(end)); Vy_0 = Vr(end)*sin(theta(end)) + Vtheta(end)*cos(theta(end)); t2 = [0:.01:3]; x2 = Vx_0*t2 + x(end); y2 = Vy_0*t2 + y(end); z2 = -.5*g*t2.^2; % -------------------------generating the plots ----------------------- figure; plot(x,y) hold on x1 = [-1:.01:1]; plot(x1, sqrt(1-x1.^2), 'r' ) hold on plot(x1, -sqrt(1-x1.^2), 'r' ) axis equal
Background image of page 14
Image of page 15
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 / 17

Homework-4-Solutions - % % % % ME 104: Engineering...

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

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