{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

matlab hw 5 - Matlab HW#5 Problem 1 ho=500 ho = 500 vo=125...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Matlab HW #5 Problem 1 ho=500 ho = 500 vo=125 vo = 125 g=9.81 g = 9.8100 t=[0:0.5:28] t = Columns 1 through 11 0 0.5000 1.0000 1.5000 2.0000 2.5000 3.0000 3.5000 4.0000 4.5000 5.0000 Columns 12 through 22 5.5000 6.0000 6.5000 7.0000 7.5000 8.0000 8.5000 9.0000 9.5000 10.0000 10.5000 Columns 23 through 33 11.0000 11.5000 12.0000 12.5000 13.0000 13.5000 14.0000 14.5000 15.0000 15.5000 16.0000 Columns 34 through 44 16.5000 17.0000 17.5000 18.0000 18.5000 19.0000 19.5000 20.0000 20.5000 21.0000 21.5000 Columns 45 through 55 22.0000 22.5000 23.0000 23.5000 24.0000 24.5000 25.0000 25.5000 26.0000 26.5000 27.0000 Columns 56 through 57 27.5000 28.0000 h = height(t,h0,v0); h= 1.0e+003 * Columns 1 through 11 0.5000 0.5613 0.6201 0.6765 0.7304 0.7818 0.8309 0.8774 0.9215 0.9632 1.0024 Columns 12 through 22 1.0391 1.0734 1.1053 1.1347 1.1616 1.1861 1.2081 1.2277 1.2448 1.2595 1.2717 Columns 23 through 33 1.2815 1.2888 1.2937 1.2961 1.2961 1.2936 1.2886 1.2812 1.2714 1.2591 1.2443 Columns 34 through 44 1.2271 1.2075 1.1853 1.1608 1.1338 1.1043 1.0724 1.0380 1.0012 0.9619 0.9202
Image of page 1

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

View Full Document Right Arrow Icon
Columns 45 through 55 0.8760 0.8293 0.7803 0.7287 0.6747 0.6183 0.5594 0.4980 0.4342 0.3680 0.2993 Columns 56 through 57 0.2281 0.1545 v=vo-g*t velocity = Columns 1 through 11 125.0000 120.0950 115.1900 110.2850 105.3800 100.4750 95.5700 90.6650 85.7600 80.8550 75.9500 Columns 12 through 22 71.0450 66.1400 61.2350 56.3300 51.4250 46.5200 41.6150 36.7100 31.8050 26.9000 21.9950 Columns 23 through 33 17.0900 12.1850 7.2800 2.3750 -2.5300 -7.4350 -12.3400 -17.2450 -22.1500 -27.0550 -31.9600 Columns 34 through 44 -36.8650 -41.7700 -46.6750 -51.5800 -56.4850 -61.3900 -66.2950 -71.2000 -76.1050 -81.0100 -85.9150 Columns 45 through 55 -90.8200 -95.7250 -100.6300 -105.5350 -110.4400 -115.3450 -120.2500 -125.1550 -130.0600 -134.9650 -139.8700 Columns 56 through 57 -144.7750 -149.6800 plot(t,h) title('height vs time graph') xlabel('time') ylabel('height') grid on; hmax=max(height) hmax = 1.2961e+003 tmax= max(t) ans = 28 tg= fzero(fun,0,t) ans= 28.9993 [h, hmax, tmax, tg] = rocket(t, h0, v0); tmax=vo./g
Image of page 2
tmax = 12.7421 hmax=ho+vo.^2./2*g
Image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern