Matlab2.10 - t= tLo:tInc:tHi; g = -9.81; x= 0.5*g*t.^2 +...

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

View Full Document Right Arrow Icon
%Livia Kuruvila problem 2.10; v1 = input ('enter starting v1 ' ); h1 = input ('enter starting h1 ' ); tLo = input ('enter starting t' ); tHi = input ('enter ending t'); tInc = (tHi- tLo)/10.0;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: t= tLo:tInc:tHi; g = -9.81; x= 0.5*g*t.^2 + v1*t + h1; y= g*t + v1; plot (t,x) title ('Livia Kuruvila 2.10'); figure plot (t,y) title ('Livia Kuruvila 2.10');...
View Full Document

This document was uploaded on 02/12/2011.

Ask a homework question - tutors are online