HW_42 - xlabel'Time(sec ylabel'Phi(degrees legend'Dashpot at b_1'Dashpot at b_2 grid on hold off h phi_one_b_dot =.002046*4.888*cos(4.888*t

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

View Full Document Right Arrow Icon
close all clear all clc c %#2 PART C t = [0:.01:3.51]; phi = .001861.*sin(5.375.*t); phi_deg = phi.*180./pi; p figure(1) plot(t,phi_deg); title('Total Response by Song, Hwan') xlabel('Time(sec)') ylabel('Phi(degrees)') grid on g figure(2) phi_dot = 5.375.*.001861.*cos(5.375.*t); phi_dot_deg = phi_dot.*180./pi; plot(phi_deg,phi_dot_deg) title('Phase Curve by Song, Hwan') xlabel('Phi(degrees)') ylabel('Phi_Dot(degrees/s)') grid on g %#2 PART E % phi_one_b = .002046.*sin(4.888.*t); phi_one_b_deg = (.002046.*sin(4.888.*t)).*180./pi; phi_two_b = .00335.*sin(2.982.*t); phi_two_b_deg = (.00335.*sin(2.982.*t))./pi; p figure(3) plot(t,phi_one_b_deg) hold on plot(t,phi_two_b_deg,'r') title('Total Response with Dashpot by Song, Hwan')
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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: xlabel('Time(sec)') ylabel('Phi(degrees)') legend('Dashpot at b_1','Dashpot at b_2') grid on hold off h phi_one_b_dot = .002046.*4.888.*cos(4.888.*t); phi_one_b_dot_deg = (.002046.*4.888.*cos(4.888.*t)).*180./pi; p phi_two_b_dot = .00335.*cos(2.982.*t); phi_two_b_dot_deg = (.00335.*cos(2.982.*t)).*180./pi; p figure(4) plot(phi_one_b_deg,phi_one_b_dot_deg) hold on plot(phi_two_b_deg,phi_two_b_dot_deg,'r-') title('Phase Curve with Dashpot by Song, Hwan') xlabel('Phi(degrees)') ylabel('Phi_Dot(Degrees/sec)') legend('Dashpot at b_1','Dashpot at b_2') grid on hold off...
View Full Document

This document was uploaded on 10/24/2010.

Page1 / 2

HW_42 - xlabel'Time(sec ylabel'Phi(degrees legend'Dashpot at b_1'Dashpot at b_2 grid on hold off h phi_one_b_dot =.002046*4.888*cos(4.888*t

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