model_rocket_yourlogin

model_rocket_yourlogin - function =...

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

View Full Document Right Arrow Icon
function [] = model_rocket_yourlogin(V_init,Theta) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Programmer(s) and Purdue Email Address(es): % 1. % % Section #:ALL % % Assignment #: Homework 5 Problem 5 % % Academic Integrity Statement: % % I/We have not used source code obtained from % any other unauthorized source, either modified % or unmodified. Neither have I/we provided access % to my/our code to another. The project I/we am/are % submitting is my/our own original work. % % This function calculates the vertical and horizontal components of the model % rocket trajectory and reports its position every second until it returns to the ground. % % INPUTS % V_init = the initial velocity of the rocket in m/s % Theta = launch angle from horizontal of the rocket in degrees % % OUTPUTS % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %---- INPUTS ---- x0 = 0; %initializes distance traveled (m) y0 = 1; %initializes height of the rocket (m)
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/02/2011 for the course ENGR 132 taught by Professor Kutson during the Spring '11 term at Purdue.

Page1 / 2

model_rocket_yourlogin - function =...

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