EGR 210: Intro to programming
Reading responses
Sections 1.1 - 1.5 & 3.1-3.2
Sections 1.6 - 1.9
Sections 2.1-2.2
Sections 2.3-2.4
Sections 3.3-3.6 and the sprintf paragraph on p. 255
Sections 3.7-3.9
Sections 4.1-4.4
Sections 5.1-5.2
Sections 5.3-5.5
Sections 6.1-6.4
Sections 7.1 (character arrays only; we won't use strings) & 7.4 (num2str only)
Sections 11.1-11.2
Sections 12.1, 12.2, 13.1
Sections 12.3-12.5
Solutions and reference items
EGR 210 tutoring: TR 8-9PM Crounse 103a
Office hours MWF 9-9:30AM. TR 12:40-2PM, or by appointment.
Solutions to practice problems chapters 4-6
Worksheet on stepping forward until at edge of region
Chapter 5 while loop worksheet solutions
Chapter 5 for loop worksheet part 2 solutions
Chapter 5 for loop worksheet solutions
Solutions to practice problem worksheet
Solutions to linear interpolation worksheet
Instructions for installing Matlab on your laptop
Course syllabus
Fall term academic calendar
Fall term final exam schedule
Daily action items by date
All reading assignments are due by 11:59PM on the date they are assigned.
——- Week 12 items below (11/17-11/24) ——-
11/18 (Mon):
• All problems (through 6.20) in the "next worksheet" posted on 11/4, below.
11/20 (Wed):
• Exam #3 in class today, covering the kind of problems covered since the last exam. Naturally, the exam problems will be simpler than the homework problems. Still, your best preparation for this exam is familiarity with the homework problems, and the graphics techniques used therein.
——- Week 11 items below (11/10-11/17) ——-
11/11 (Mon):
• Block stacking problems due today by 4PM.
11/15 (Fri):
• Cellular automaton problems due today by 4PM.
• Please try to choose a project topic and let me know by today.
——- Week 10 items below (11/3-11/10) ——-
11/4 (Mon):
• Next worksheet of homework problems (after completing cellular automata problems). The image of Kentucky referenced is here.
——- Week 9 items below (10/27-11/3) ——-
10/27 (Sun):
• Read 12.1,12.2,13.1
——- Week 8 items below (10/20-10/28) ——-
10/23 (Wed):
• Exam 2 in class today
——- Week 7 items below (10/16-10/20) ——-
10/18 (Fri):
• Chapter 6 worksheet, containing problems to work on and show mw when you are finished, instead of using Matlab Grader. Work on these after completing the four Chapter 6 problems in Matlab Grader.
• Practice problems related to chapters 4-6 (solutions to come, but try them first)
——- Week 6 items below (10/6-10/13) ——-
10/8 (Tues):
• Read sections 7.1&7.4 (with restrictions noted at left).
——- Week 5 items below (9/29 -- 10/6) ——-
9/29 (Sun):
• Read sections 5.3-5.5.
10/3 (Thurs):
• Read sections 6.1-6.4.
10/4 (Fri):
• Quiz on output of simple for and while loops. The quiz will be of the type where you predict the output of a short script, or give the elements of an array after a script is run.
——- Week 4 items below (9/22 -- 9/29) ——-
9/22 (Sun):
• Read sections 5.1-5.2.
9/25 (Wed):
• Exam 1 on chapters 1-4 in class today
——- Week 3 items below (9/16 -- 9/22) ——-
9/17 (Tues):
• Read sections 4.1-4.4.
——- Week 2 items below (9/9 -- 9/16) ——-
9/10 (Tues):
• Read sections 3.3-3.6 and the sprintf paragraph on p. 255.
9/12 (Thurs):
• Read sections 3.7-3.9.
9/13 (Fri):
• Quiz at the start of class on arrays: Array creation by entering numbers in square brackets, and by the rand, ones, or zeros functions. Creation of row vectors using the colon notation and using linspace. Applying named functions like exp() to an array. Element-by-element operations on and between arrays: +, -, .*, ./, .^ . The transpose operation. Extracting subarrays from an array using the colon notation for the indices. Placing already existing vectors into a larger array using the colon notation (like placing the row vector v3 of length 73 into the first 73 rows of column 1 of array A). Size of arrays and an understanding of the meaning of rows and columns.
——- Week 1 items below (9/2 -- 9/8) ——-
9/2 (Mon):
• First class meeting
9/3 (Tues) :
• Read sections 1.1-1.5 & 3.1-3.2, and post responses via link at the left.
9/5 (Thurs):
• Read 1.6-1.9 and 2.1-2.2 (and post responses via link, which goes without saying in the future)
9/6 (Fri) :
• Quiz on command line operations: assignments to variables, order of operations in expressions, operations and functions (including +,-,*,/,^,log,log10,exp,sqrt,cos,sin,pi), output of logical expressions (~,|,&,~,==,>,<,>=,<=,~=), load, save, and clear.
9/8 (Sun) :
• Read sections 2.3-2.4