{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

p1fa11 - CS1112 Fall 2011 Project 1 due Thursday 9/8 at...

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

View Full Document Right Arrow Icon
CS1112 Fall 2011 Project 1 due Thursday 9/8 at 11pm You must work either on your own or with one partner. If you work with a partner you must first register as a group in CMS and then submit your work as a group. Adhere to the Code of Academic Integrity. For a group, “you” below refers to “your group.” You may discuss background issues and general strategies with others and seek help from the course staff, but the work that you submit must be your own. In particular, you may discuss general ideas with others but you may not work out the detailed solutions with others. It is not OK for you to see or hear another student’s code and it is certainly not OK to copy code from another person or from published/Internet sources. If you feel that you cannot complete the assignment on you own, seek help from the course staff. Objectives Completing this project will help you learn about Matlab scripts, assignment statements, if-else statements, and some Matlab built-in functions. You will also start to explore Matlab graphics. Note: Use scalar variables only—do not use arrays. Do not use loops. 1 Approximating the cube root In Lecture 1 you saw that one can approximate the square root of a positive value by constructing “increas- ingly square” rectangles of the same area. You will now approximate the cube root of a positive value V by constructing increasingly cube-like rectangular solids with volume V . Start with a rectangular solid of volume V that has two square faces and let s be the side length of the square. The dimensions of the rectangular solid are then s × s × V s 2 . The side length of the cube with volume
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
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