Plan for this week:
This week we will take a quiz on plotting and plot the data in matlab engineering software with the below code and
graph your experimental data that you collected last week.
Here is the link:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%
% Data Collection ( 5 experiments) %%%%%%
% %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
x=[1 2 3 4 5]
t=[1 2 3 5 4]
v=x/t
% avgvelocity is 0.9818 m/s
% from data collection
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%
% Project Motion - Theory %%%%%%
% %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% theory
subplot(1,1,1)
%%%%%%%%%%%%%%%%%
%%% Blue Bird data
%%%%%%%%%%%%%%%%%
vo=4.7; %22.3693629 miles per hour
theta=20;
vox=vo*cos(theta*pi/180);
voy=vo*sin(theta*pi/180);
g=9.81;
thmax=voy/g;
hmax=voy^2/(2*g)
ttot=2*thmax;
dmax=vox*ttot
tplot=linspace(0,ttot,200);
x=vox*tplot;
y=voy*tplot-0.5*g*tplot.^2;
%%%%%%%%%%%%%%%%%
%%% 3D pen-Red Bird data
%%%%%%%%%%%%%%%%%
vo2=4.8; %22.3693629 miles per hour
theta2=20;
vox2=vo2*cos(theta2*pi/180);
voy2=vo2*sin(theta2*pi/180);
g=9.81;
thmax2=voy2/g;
hmax2=voy2^2/(2*g)
ttot2=2*thmax2;
dmax2=vox2*ttot2
tplot2=linspace(0,ttot2,200);
x2=vox2*tplot2;
y2=voy2*tplot2-0.5*g*tplot2.^2;
%%%%%%%%%%%%%%%%%
%%% Avitron Bird data
%%%%%%%%%%%%%%%%%
vo3=4.9; %22.3693629 miles per hour
theta3=19;
vox3=vo3*cos(theta3*pi/180);
voy3=vo3*sin(theta3*pi/180);
g=9.81;
thmax3=voy2/g;
hmax3=voy2^2/(2*g)
ttot3=2*thmax3;
dmax3=vox3*ttot3
tplot3=linspace(0,ttot3,200);
x3=vox3*tplot3;
y3=voy3*tplot3-0.5*g*tplot3.^2;
%%%%%%%%%%%%%%%%%
%%% Arduinocar data
%%%%%%%%%%%%%%%%%
vo4=5.5; %22.3693629 miles per hour
theta4=15;
vox4=vo4*cos(theta4*pi/180);
voy4=vo4*sin(theta4*pi/180);
g=9.81;
thmax4=voy4/g;
hmax4=voy4^2/(2*g)
ttot4=2*thmax3;
dmax4=vox4*ttot4
tplot4=linspace(0,ttot4,200);
x4=vox4*tplot4;
y4=voy4*tplot4-0.5*g*tplot4.^2;
plot(x,y,'b',...
x2,y2,'r',...
x3,y3,'g',...
x4,y4,'k','Linewidth',3);
set(gca,'FontSize',12)
xlabel('Distance (meters)','FontSize',14)
ylabel('Height (meters)','FontSize',14)
title('Trajectory of Vehicle','FontSize',18)
legend('Blue Mechanical-Bird',...
'3D-pen Red Mechanical-Bird',...
'Avitron Motor-Bird',...
'Arduinocar')
saveas(gcf,'Theory','jpg')
axis([0 2 0 0.2])
SESSION 3
(September 27th, 2014, 9AM – 12PM in room 193, at Grand Canyon University)
Project: Testing the Mechanical Flapping Bird for Experimental Velocity Data Collection
Principle Investigator: Michael Thompson
Department: Mechanical Engineering
Phone: 602-373-9921
Email: mjthomp3@asu.edu
Web: https://sites.google.com/a/asu.edu/michael-thompson/home
NASA Space Grant: I believe I can fly! STEAM Program (Fall 2014 - Spring 2015)
Overview of Project:
The main goal of this project is to collect data as function of the bird traveling in the air. The data collected should be written down a sheet of paper of the time and distance that the mechanical bird traveled. Next the students will compute velocity using the fundamental equation of physics that distance = velocity * Time or X=VT. Then after the students have computed the velocity they may graph/velocity as a function of time to visually represent their data they have collected. This will be done with 2 flapping mechanical birds (a red bird and a blue bird).
Problem Statement:
Studying projectile motion will undoubtedly be covered in all physics text books and by the students having some previous knowledge from this project may propel the students further in the subject of physics. They may increase their knowledge in the physics space using the equations of motion and applying the equation becoming more of an engineer, solving real world problems.
Technical Approach/Design:
The first step is for the each group to fly 2 mechanical flapping birds. 6 cohorts of students will utilize these two birds to compare their flight performance. One cohort will encompass of 3 students. One student will take time measurements, another student will take distance measurements and the other student will write down the data on a sheet of paper or laptop if the student has one.
Major Developments, Accomplishments, and Conclusions
The students conducted experimental tests to determine the mechanical bird vehicle’s performance.
The students concluded from their data collection the following:
(1) The maximum time the bird traveled;
(2) the minimum time the bird traveled;
(3) the maximum distance the bird traveled;
(4) the minimum distance the bird traveled’
(5) the average distance the bird traveled;
(6) and the average time the bird traveled
Directions for Future Research
Future work will exploit developing a program for the collected data to plot/graph the velocity as a function of the time the birds flew.