A5_ENGR215_F08

A5_ENGR215_F08 - at beginning of period Test your function...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Engineering ENGR 215 College of San Mateo L. Demsetz Assignment 5: Programming Assigned: September 11, 2008 Due: September 23, 2008 Please read Chapter 4 in the text and review the handout Programming in MATLAB . Please use the usual format for submitting the assignment, with subject yourname_ENGR215_A5. Submit work as .m file attachments. Be sure to include your name and other relevant information in a comment block at/near the top of each file. 1. Use MATLAB as described in Problems 1 (pages 188-189), 3 (page 189), and 12 (page 191). Just do the work; nothing to turn in. 2. Write a MATLAB function to solve Problem 10 on page 190. In addition to the requested information, your function should return your net increase in wealth (value of stock held at end of period – cash out to purchase stock + cash in from selling stock – value of stock held
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: at beginning of period). Test your function with the numerical values given in the problem and paste your results in a comment block at the end of your file. Submit your code as A5P2.m. Be sure to include appropriate comments so that a user typing >> help A5P2 will know how to use the program. 3. Write and test the program described in Problem 16 on page 191. Submit your code as A5P3.m (again, with appropriate comments). Paste as comments at the end of the file evidence that you have tested the code thoroughly. 4. Write and test the program described in Problem 30 on page 197. Use at least one while loop in your program. Submit your code as A5P4.m (with appropriate comments). Paste as comments at the end of the file evidence that you have tested the code thoroughly. Remember, you can…...
View Full 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