CalcFourBarPosition

CalcFourBarPosition - p = 3; delta3 = 45*pi /180; d for...

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

View Full Document Right Arrow Icon
% Himen Patel % 30sep2010 % coupler part % function [px, py] = CalcFourBarPosition(theta3, p, delta3) % INPUT DATA a = 1; % crank (inches) b = 1.5; % coupler (inches) c = 1.75; % rocker (inches) d = 1.6; % Ground (inches) flag = input ('open(1) or cross(2)');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: p = 3; delta3 = 45*pi /180; d for theta2deg = 0:1:360; theta2 = theta2deg*pi/180; [theta4, theta3]=CalcFourBar(a,b,c,d,theta2,flag); px = P*cos(theta3+delta3) + a*cos(theta2); py = p*sin(theta3+delta3) end; plot(px,py) p...
View Full Document

This note was uploaded on 03/28/2011 for the course CAE 311 taught by Professor Himn during the Spring '11 term at SJVCS.

Ask a homework question - tutors are online