{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw04_engr13200_s11

hw04_engr13200_s11 - ENGR 13200 Ideas to Innovations Part...

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

View Full Document Right Arrow Icon
ENGR 13200 Ideas to Innovations Part II Spring 2011 HOMEWORK #4 Due: Class 4b To be submitted in Class 4B: Individually: 1. Hardcopy printout of your function m-files, fxy4C_yourlogin.m and fxy4F_yourlogin.m . 2. Hardcopy printout of your function m-file, Class3b_Activity5.m . 3. Hand written answers to problem 3. 4. Hardcopy printout of your function m-file, asin_yourlogin.m . 5. Flowchart and hardcopy printout of your function m-file, phases_yourlogin. m. Team: 1. Hardcopy printout of your Team Flyer. 2 . Hardcopy printout of your Code of Cooperation signed by each team member. To be submitted electronically before Class 4B: Individually: 1. Your function m-files, fxy4C_yourlogin.m and fxy4F_yourlogin.m . 2 . Your function m-file, Class3b_Activity5.m . 3. Your function m-file, asin_yourlogin.m . 4. Your function m-file, phases_yourlogin. m. Team: 1. Team Flyer. 0. Reading Assignment Ideas to Innovation Textbook: Chapter 26: pp. 589-597. Mathworks Tutorials (Optional but Recommended): Much (but not all) of the content in the above reading is represented visually in the following Interactive MATLAB Tutorial materials available through the MathWorks website, www.mathworks.com/purduefirstyear/matlabtutorial . The recommended segments for this week are: Programming in MATLAB head2right Flow and Loop Control o Flow Control o Writing Conditional Statements
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
ENGR 13200 Ideas to Innovations Part II Spring 2011 1. MATLAB In-Class Activity This is to be completed individually. This problem is added to your homework grade. Complete activity 4 from class 3b. Deliverable: Hardcopy printout of your function files, fxy4C_yourlogin.m and fxy4F_yourlogin.m. Upload your m-files to your Faculty Instructor’s Assignment Drop Box on Blackboard. 2. MATLAB In-Class Activity This is to be completed individually. This problem is added to your homework grade. Complete activity 5 from class 3b. Deliverable: Hardcopy printout of your function file, Class3b_Activity5.m. Upload your m-file to your Faculty Instructor’s Assignment Drop Box on Blackboard. 3. Debugging a User-defined Function This is to be completed individually. This problem is part of your homework grade. The following user-defined function M-file (cone_calcs.m) was created by a student in ENGR 13200 to compute the volume and area of a right- circular cone. Line # Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 function [vol,area] = cone_calcs(r,h) % This function computes the volume and surface area % of a right-circular cone. % INPUTS: the scalar radius r of the circular base % the scalar height h of the cone % OUTPUTS: the scalar volume V of the cone % the scalar area A of the cone if r=<0 || h<=0 error(‘The cone must have positive dimensions’) base = pi*r^2; % area of base circle sides = pi*r*sqrt(r^2 + H^2); % area of the sloped sides else if V = 1/3*base*H; % volume A = sides + base; % total surface area end
Image of page 2
Image of page 3
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