正在加载图片...
MASSACHVSETTS INSTITVTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.001- Structure and Interpretation of Computer Programs Spring semester 2005 Project 1- Those amazing red sox! 1. Issued: Monday, February 7 2. To Be Completed By: Friday, February 18, 6: 00 PM Code to load for this project 1. A link to the code file basebot. scm is provided from the Projects link the projects section. This file contains the skeleton of the procedures on described here, and some utility procedures you will need urpose The purpose of Project I is for you to gain experience with writing and testing relatively simple procedures. You should create a file with your project solutions for uploading to the 6.001 on-line tutor. For each problem below, include your code(with identification of the problem number being solved), as well as comments and explanations of your code and demonstrate your code's functionality against a set of test cases. On occasion, we may provide some example test cases, but you should al ways create and include your own additional, meaningful test cases to ensure that your code works not only on typical inputs, but also on"boundary"or difficult cases. Get in the habit of writing and running these test cases after every procedure you write- no matter how trivial the procedure may seem to you Additional guidelines for project submission are available under the How to write up a project link on the projects section Scenario As you may have noticed this past fall, a remarkable event took place-the Boston Red Sox won the World Series for the first time in 86 years! You may also have noticed long time Boston residents(such as MIT professors) walking about in a state of bliss. Because many of these folks don t want to have to wait another 86 years for this to happen again Red Sox Nation has hired us to provide some help. In particular, we are to investigat the possibility of perfecting a baseball robot("basebot )that can accurately throw and can hit with power Problem 1: Some simple physics We are going to begin by modeling how far a baseball can travel-the same physics will hold for both hitting a ball and throwing a ball. We are going to simplify things byMASSACHVSETTS INSTITVTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.001 – Structure and Interpretation of Computer Programs Spring Semester, 2005 Project 1 – Those amazing Red Sox! 1. Issued: Monday, February 7 2. To Be Completed By: Friday, February 18, 6:00 PM 3. Code to load for this project: 1. A link to the code file basebot.scm is provided from the Projects link on the projects section. This file contains the skeleton of the procedures described here, and some utility procedures you will need. Purpose The purpose of Project 1 is for you to gain experience with writing and testing relatively simple procedures. You should create a file with your project solutions for uploading to the 6.001 on-line tutor. For each problem below, include your code (with identification of the problem number being solved), as well as comments and explanations of your code, and demonstrate your code’s functionality against a set of test cases. On occasion, we may provide some example test cases, but you should always create and include your own additional, meaningful test cases to ensure that your code works not only on typical inputs, but also on “boundary” or difficult cases. Get in the habit of writing and running these test cases after every procedure you write – no matter how trivial the procedure may seem to you. Additional guidelines for project submission are available under the “How to write up a project” link on the projects section. Scenario As you may have noticed this past fall, a remarkable event took place – the Boston Red Sox won the World Series for the first time in 86 years! You may also have noticed long time Boston residents (such as MIT professors) walking about in a state of bliss. Because many of these folks don’t want to have to wait another 86 years for this to happen again, “Red Sox Nation” has hired us to provide some help. In particular, we are to investigate the possibility of perfecting a baseball robot (“basebot”) that can accurately throw and can hit with power. Problem 1: Some simple physics We are going to begin by modeling how far a baseball can travel – the same physics will hold for both hitting a ball and throwing a ball. We are going to simplify things by
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有