19 clear clc grant jensen aer e 161 telling what type

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

Problem 4.19 clear, clc %Grant Jensen, AER E 161, Telling what type of flow is happening airspeed = input( 'Enter the speed of aircraft: ' );  %user inputs speed of the aircraft spdsound = input( 'Enter the speed of sound at the aircraft''s current  altitude: ' );  %user inputs the speed of sound at the current altitude machnumber = (airspeed/spdsound);  %calculates mach number %below statements use the mach number to differentiate between  supersonic, %subsonic, and transonic flow. if  machnumber > 1     disp( 'The flow is supersonic' ) elseif  machnumber < 1     disp( 'The flow is subsonic' ) else     disp( 'The flow is transonic' )
Image of page 1

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

Name: Grant Jensen AERE 161, Spring 2018 HW #3 Due date: 1/29/2018 end Output 2: Enter the speed of aircraft: 700 Enter the speed of sound at the aircraft's current altitude: 767 The flow is subsonic Problem 4.22 clear, clc %Grant Jensen, AER E 161, Beaufort Wind Scale windforce = randi([0,12]);  %generates a random integer that acts as a  "wind force" if  windforce == 0 
Image of page 2
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