EGR115 _homework_ 2(2)

EGR115 _homework_ 2(2) - refresh you). 4. Problem 2.9. Use...

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

View Full Document Right Arrow Icon
EGR 115 Homework 2 Turn in this homework in the proper format (see course syllabus) at the start of class on as specified in the Class Syllabus . Late assignments will not be accepted unless approved by your Instructor. . Use the format defined in the class Syllabus. The format of your submission will be considered when determining the homework grade. Use MATLAB in all problems and be sure to use suitable MATLAB variable names. 1. Problem 2.1- Be sure you understand how the size and value(s) of these arrays are determined. Use the size function for parts (a), (c) and (d). 2. Problem 2.6 – Be sure you understand why each of the parts are legal or not legal. Execute each of the parts to show your results. 3. Problem 2.7 – For parts (a) – (f), be sure you understand the order that the calculations are performed. MATLAB follows the rules you learned in the Arithmetic Order of Operations in early mathematics (perhaps PEMDAS may
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 3

EGR115 _homework_ 2(2) - refresh you). 4. Problem 2.9. Use...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online