Assignment12_Chapter5_Exercise5

Assignment12_Chapter5_Exercise5 - h Print and Plot(time and...

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

View Full Document Right Arrow Icon
% Ashwin Satish % Assignment 12 - Chapter 5, Exercise 5 % ENES 101 / Section 103 % clear, clc c % Let the user input time % t = input('Please input the time (s): '); t height = (2.13 * t^2) - (.0013 * t^4) + (.000034 * t^4.751);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: h % Print and Plot (time and height in increments of 2 seconds until it hits % the ground) % if(height > 0) newtime = t:2:height; plot(newtime,height); else disp([height,time]); end...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online