This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: 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 students 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, ifelse statements, and some Matlab builtin functions. You will also start to explore Matlab graphics. Note: Use scalar variables onlydo 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 cubelike 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....
View
Full
Document
This note was uploaded on 09/05/2011 for the course CS 101 at Cornell University (Engineering School).
 '08
 GRIES

Click to edit the document details