This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: refresh you). 4. Problem 2.9. Use inv(a)*b or a\b to solve these simultaneous equations. Your results should be: x_values = 0.6626-0.1326-3.0137 2.8355-1.0852-0.8360 5. Problem 2.10 - Use plotyy(x1,y1,x2,y2) to plot the height and velocity of the ball as a function of time. Use a time base of 10 seconds in 0.01 increments. Be sure to include proper labels and title in your plot and submit with your homework. To label the right-hand (velocity) axis, use text(10.8,0,'Velocity in meters/sec','rotation',90) following ylabel for the left-hand (height) axis . As a test case, use an initial height above ground of 200 meters with an initial velocity of 20 meters/sec. The ball should reach ground level in (approx) 8.7 secs when read from your height vs time plot. Your input should be: Please enter initial height in meters: 200 Please enter initial velocity in m/s: 20 (Continued next page) EGR 115 Your plot should be: EGR 115...
View Full Document
This note was uploaded on 09/13/2010 for the course EGR EGR115 taught by Professor Newman during the Fall '10 term at Embry-Riddle FL/AZ.
- Fall '10