1 Page

week_five

Course: CS 0809, Fall 2009
School: Carleton
Rating:
 
 
 
 
 

Word Count: 403

Document Preview

Five Jake Week Hilty January 11, 2009 Readings This week please read nothing new, please remember you don't have to read sections marked with a double dangerous curve sign This week we are focusing on some of the trickier portions of the macros section from last week. Specifically, we will be focusing on conditionals, and possibly a few of the other things on pg 209 & 213. Exercise 1 (Delimiting...

Register Now

Unformatted Document Excerpt

Coursehero >> Minnesota >> Carleton >> CS 0809

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Five Jake Week Hilty January 11, 2009 Readings This week please read nothing new, please remember you don't have to read sections marked with a double dangerous curve sign This week we are focusing on some of the trickier portions of the macros section from last week. Specifically, we will be focusing on conditionals, and possibly a few of the other things on pg 209 & 213. Exercise 1 (Delimiting Arguments) Now that you know how the \proclaim macro, on pg 202, works, use a similar scheme to design a macro for putting a heading at the top of your papers that looks like the one at the top of this paper. If you want you can delimit the first argument with a period like the proclaim command, but the basic layout should be the same. Exercise 2 (Registers) This exercise references some earlier material from the section on chapter 15 so you may want to review that chapter before trying this (specifically pgs. 117121 regarding registers). In this chapter there is a \proclaim function for making theorems, but usually theorems follow pretty specific rules when you are typesetting new ones, such that each one in a chapter is labeled: chapter number.theorem number like this: 2.4 Theorem would indicate the fourth theorem in chapter 2. Write a macro that utilizes two registers chapNo and theNo such that every time you call \theorem it automatically numbers the theorem number and chapter number and typesets the rest of it as proclaim is defined on pg. 202. (NOTE:It may behoove you to also make a \chapter macro as well that resets your theorem number and changes the chapter number.) Exercise 3 (Recursion and Conditionals ) In this exercise we are going to write a simple recursive macro. If you don't know what recursion is please go take a look at the wikipedia article on Recursion (http://en.wikipedia.org/wiki/Recursion). In this macro there should we are going to utilize...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Carleton - CS - 0809
Week FiveMax Olivier March 6, 2009Readings For this week please read Chapter 7 in Overland on strings. Main Ideas Since one of the goals of this course is to have a well functioning set of cryptology programs, a good knowledge of strings will be
Sanford-Brown Institute - CS - 005
%!PS-Adobe-3.0 %BoundingBox: (atend) %Pages: (atend) %PageOrder: (atend) %DocumentFonts: (atend) %DocumentNeedsFonts: (atend) %DocumentSuppliedFonts: (atend) %Creator: Frame 5.5 %DocumentData: Clean7Bit %EndComments %BeginProlog % % Frame ps_prolog 5
Sanford-Brown Institute - CS - 005
AWT Graphics Components LayoutManagersIntroduction1September 10, 1998Graphics DimensionDimension d = myApplet.getSize(); int width = d.width; int height = d.height;FontFontMetrics f = graphics.getFontMetrics(); int stringWidth = f
Sanford-Brown Institute - CS - 005
%!PS-Adobe-3.0 %BoundingBox: (atend) %Pages: (atend) %PageOrder: (atend) %DocumentFonts: (atend) %DocumentNeedsFonts: (atend) %DocumentSuppliedFonts: (atend) %Creator: Frame 5.5 %DocumentData: Clean7Bit %EndComments %BeginProlog % % Frame ps_prolog 5
Sanford-Brown Institute - CS - 005
%!PS-Adobe-3.0 %BoundingBox: (atend) %Pages: (atend) %PageOrder: (atend) %DocumentFonts: (atend) %DocumentNeedsFonts: (atend) %DocumentSuppliedFonts: (atend) %Creator: Frame 5.5 %DocumentData: Clean7Bit %EndComments %BeginProlog % % Frame ps_prolog 5
Sanford-Brown Institute - CS - 005
%!PS-Adobe-3.0 %BoundingBox: (atend) %Pages: (atend) %PageOrder: (atend) %DocumentFonts: (atend) %DocumentNeedsFonts: (atend) %DocumentSuppliedFonts: (atend) %Creator: Frame 5.5 %DocumentData: Clean7Bit %EndComments %BeginProlog % % Frame ps_prolog 5
Sanford-Brown Institute - CS - 005
%!PS-Adobe-3.0 %BoundingBox: (atend) %Pages: (atend) %PageOrder: (atend) %DocumentFonts: (atend) %DocumentNeedsFonts: (atend) %DocumentSuppliedFonts: (atend) %Creator: Frame 5.5 %DocumentData: Clean7Bit %EndComments %BeginProlog % % Frame ps_prolog 5
Sanford-Brown Institute - CS - 005
%!PS-Adobe-3.0 %BoundingBox: (atend) %Pages: (atend) %PageOrder: (atend) %DocumentFonts: (atend) %DocumentNeedsFonts: (atend) %DocumentSuppliedFonts: (atend) %Creator: Frame 5.5 %DocumentData: Clean7Bit %EndComments %BeginProlog % % Frame ps_prolog 5
Sanford-Brown Institute - CS - 005
Sanford-Brown Institute - CS - 005
%!PS-Adobe-2.0 %Creator: dvips(k) 5.78 Copyright 1998 Radical Eye Software (www.radicaleye.com) %Title: handout.dvi %Pages: 7 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSCommandLine: dvips handout.dvi -o handout.ps %DVIPSParameter
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
:27.07.2004, 131 (1171). . , , , . " . , , - , . . . : - " " " 1994 . " , " . , , , - ", , , " ". , " , , ..2003 . - , . , , , . , , ,,1. . - , - , , ,,,, . .. .: http:/www.vedomosti.ru/newspaper/article.shtml?2004/
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
#27 (474)182005 . , ., . ., , . , , , , . ,,-., ,. . , 11 , .,,, , . ? , , . . . . ? , , . . , -., , ,1, . , . . , . , . , . , . . . . , , . , , . , . , , . . , . , , , , , ,,-,2
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Obituary: Zelimkhan YanderbiyevBBC NewsFriday, 13 February, 2004 By David Bamford http:/news.bbc.co.uk/1/hi/world/euro pe/3486179.stmA 51-year-old Islamist who wrote ideological poetry, Zelimkhan Yanderbiyev rose to prominence in the early 1990s
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Obituary: Akhmad Kadyrovhttp:/news.bbc.co.uk/1/hi/world/europe/3160962.st m Sunday, 9 May, 2004Akhmad Kadyrov was the man the Russian government hoped would bring stability to strife-torn Chechnya.Kadyrov was used to regular assassination attemp
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Kremlin Refuses to Talk to MaskhadovThe Moscow News November 10-16, 2004 By Sanobar ShermatovaThe Ichkerian president has shown his readiness to negotiate. However, it seems that Moscow is ignoring his initiativeThere has been a fresh flurry of
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Stanford - GROUP - 103
Deadly Stalemate in ChechnyaThe New York Times Published: September 4, 2004staggering series of recent terrorist attacks rooted in the Chechen conflict have been both horrific and remote to most Americans. It's hard to imagine what the public reac
Stanford - GROUP - 103
http:/www.iwpr.net/index.pl?caucasus_beslan_script.html Institute for War and Peace Reporting, LondonAfter Beslan: Is the Chechnya Conflict Spreading?Transcript of a Discussion at the Frontline Club, London, November 2, 2004The speakers were Val
N.C. State - ST - 435
N.C. State - ST - 435
N.C. State - ST - 435
N.C. State - ST - 435
ST 435/535: Fall 2007 Homework 1 Due: Friday, August 31, 2007 1. Tell me about yourself. What is your "academic" background? Have you been employed in industry? If so, where? Why are you taking this class and what do you hope to get out of it? What a
N.C. State - ST - 435
ST 435/535: Fall 2007 Homework 2 Due: Friday, September 14, 2007 -Be sure to NEATLY write your name on the assignment and STAPLE all pages together. -Include relevant computer output with homework. -Note that additional problems are given at the end
N.C. State - ST - 435
ST 435/535: Fall 2007 Homework 3 Due: Friday, September 21, 2007 Note that an additional problem is given at the end of this assignment for ST 535 students! 1. 2. 3. 4. 5. 6. 7. 8. a. b. c. d. Do problem 4-1 from the text. Do problems 4-2 and 4-3 fro
N.C. State - ST - 435
Homework 3 Solutions ST 435/535 Fall 2007 1. (4-1) Chance causes (or chance variation) is the normal amount of variability expected when the process is in control. It is essentially the "white noise" always present. Assignable cause (or assignable va
N.C. State - ST - 435
ST 435/535 Fall 2007 Homework 4 Due: Wednesday, October 10, 2007 If levels of control limits are not specified, remember to use the usual 3-sigma limits! 1. 2. 3. 4. 5. 6. 7. Do problem 5-11 from text. Do problem 5-19, parts (a) and (b) ONLY, from te
N.C. State - ST - 435
ST 435/535 Fall 2007 Homework 5 Chapter 5 using Enterprise Guide Due: Friday, October 26, 2007 -Be sure to NEATLY write your name on the assignment and STAPLE all pages together. - Use standard 3-sigma control limits unless specifically told otherwis
N.C. State - ST - 435
ST 435/535 Fall 2007 Homework 7 Due: Monday, November 26, 2007 1. Do problem 6-1 (by hand!). You do not need to draw the control chart, just calculate the CL and UCL/LCL and determine in or out of control status by looking at data compared to the cal
N.C. State - ST - 435
ST 435/535 Fall 2007 Homework 8 Due: Friday, December 7, 2007 All data sets are available on the course web page, if you do not want to type them into the computer by hand. *Note that on all problems, you DO NOT need to perform the phase II analysis
N.C. State - ST - 435
ST 435 001: Statistical Methods for Quality and Productivity Improvement ST 535 001: Statistical Process Control Fall 2007 in HA 325 Instructor: Dr. Jeff Thompson Phone: 515-2570 Office: Patterson Hall, Room 209D E-mail: thompson@stat.ncsu.edu or jrt
Mary Washington - CPSC - 104
Web Page Evaluation Checklist Your Name: Use a threepoint scale: 1 if it falls below your expectations, 0 is it meets your expectations, +1 if it exceeds your expectations. Include suggestions for improvement or change. URL Evaluated: Title: Autho
Mary Washington - CPSC - 104
CPSC 104 Web Page (Proposal)1. Identification of Audience Busy parents of school age children and their kids2. Purpose Web page designed to help alleviate the "Mom, I'm bored!" days.3. Content Outline Brief personal introduction Favorite M
Middlebury - PY - 405
Case StudyThe Ortiz family, consisting of Roberto, 47, the father, Margarita, 44, the mother, and two daughters, Magdelena, 12, and Rosina, 10, had never been to a counselor before. They arrived together at the school counseling office for their ear
Middlebury - PY - 405
LATINOSSTEREOTYPES Generate as many stereotypes as possible from both your experience and the articles you read Review of stereotypes Film: West Side Story Where do these stereotypes come from?GENDER IDENTITY Film: Mi Familia How do Latino gende
Middlebury - PY - 405
Discrimination within the Counseling Setting (Diller, 1999) Being unaware of one's own prejudices and how they are inadvertently communicated to clients Being unaware of differences in cultural style, interactive patterns, and values, leading to mi
Middlebury - PY - 405
A problem-appraisal checklist for Hispanic American families The counselor must take the following circumstances into account in appraising the problems of Hispanic American families: Country of origin Circumstances of immigration Degree of accul
Middlebury - PY - 405
LATINOSSTEREOTYPES - Generate as many stereotypes as possible from both your experience and the articles you read (Work in pairs to identify stereotypes for Mexicans, Puerto Ricans, and Cubans) - Review of stereotypes Where do they come from? (use
Uni. Westminster - MJB - 0717
LABORATORY EXERCISE 1:REFLEXES AND RECEPTORS REFLEXESBackground: A reflex is a relatively simple motor response that does not involve a large number of association neurons. The simplest version is a mono-synaptic reflex that uses one sensory and
Iowa State - CPB - 6666
Iowa State - CPB - 6666
AGGRESSIVE BEHAVIOR Volume 33, pages 486497 (2007)Longer You Play, the More Hostile You Feel: Examination of First Person Shooter Video Games and Aggression During Video Game PlayChristopher P. Barlett, Richard J. Harris, and Ross BaldassaroDepar
Iowa State - CPB - 6666
This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and education use, including for instruction at the authors institution and sharing with colleagues. Other use
Iowa State - CPB - 6666
Body Image 3 (2006) 375383 www.elsevier.com/locate/bodyimageThe interference effect of men's handling of muscular action figures on a lexical decision taskChristopher P. Barlett *, Sara J. Smith, Richard J. HarrisKansas State University, Manhatta
N.C. State - HLBROWN - 285
FALL 2004 COURSE: INSTRUCTOR: OFFICE: PHONE: E-MAIL: OFFICE HOURS: TEXT: PEH 285 Personal Health Joy Kagendo-Charles 2020 Carmichael Gymnasium 513-1545 jikagend@ncsu.edu MW 9:00-10:00; TH 10:10-11:10 a.m. D.B. & Payne, W.A. (2001) Focus on Health. 5t
Iowa State - CPB - 6666
CHAPTER 25MediaRichard Jackson Harris, Elizabeth T. Cady, and Christopher P. BarlettKansas State University, USAHere is a little quiz. Do each of the following as best you can: 1. Hum the theme music from the movie Jaws. 2. Sing Thriller by Mic