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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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, if-else statements, and some Matlab built-in 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 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....
View Full Document

This note was uploaded on 09/05/2011 for the course CS 101 at Cornell University (Engineering School).

Page1 / 2

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online