| Scientific Programming CSCI 145-04 Spring 2007 |
| Syllabus
Announcements
Schedule
Links |
| Week |
Topics |
Monday |
Wednesday |
Friday |
|
| 1 1/15-19 |
Algorithms,Overview of Computers
and Programming, Introduction to MATLAB: variables, simple data
types,text |
discussion:
syllabus, algorithms, overview, MATLAB demos Reading: Chpt. 1 (K), HW: Write a detailed description of an algorithm you use. Due Friday. |
|
||
| 2
1/22-26 |
MATLAB
arrays, logical data type, scripts |
Read
3.4-3.5 |
Read
4.1 ,6.2 HW:due Wed 1/31 |
Read
7.1-7.3 |
|
| 3 1/29-2/2 | MATLAB branching |
HW: heat
Due 2/7 |
HW:ifelseexamp
Due 2/2 |
DNA heatprog |
|
| 4 2/5-2/9 | MATLAB switches, matrices, basic file input/output, for loop | read
4.2,7.4 classnotes classnotes2 classnotes3 |
read
8.1-8.3 |
read
8.4-8.7 notes |
|
| 5 2/12-2/16 | MATLAB for loops |
hw newtons squares gencod harmonic |
hw (due 2/21) box(nestedloop) colorloop Read 8.8 |
dicerolls box2 |
|
| 6
2/19-2/23 |
MATLAB while loops, functions | Read
Chapter 6 winningstreak1 winningstreak2 str3 |
hw While loops SUMQ avofinput APPROXE approxetaylor |
while
loop: molwt functions notesfromclass |
|
| 7 2/26-3/2 | MATLAB functions,, file types,
more plotting, |
manyreturns functions for a parabola: vert parabinfo parab myparab |
functions
for linear
regression and corr coeff image files photo m file for imagemanip redeye.m frameit.m |
Exam I |
|
| 8 3/5-3/9 | Scientific
Computing, |
approximating
an
integral,finding
a zero, feval |
parametric
curves, Bezier curves |
||
| 9 3/12-3/16 | SPRING BREAK-no classes |
||||
| 10
3/19-3/23 |
Chpt.
2,3: Intro to C++, C++ control
structures |
linux,
a first program |
circle
program,silo program (loop to find min) |
||
| 11 3/26-3/30 |
Chpt 3, Loops Chpt
4, Data Files |
||||
| 12 4/2-4/6 | Chpt 5 Functions | Good Friday-no classes | |||
| 13 4/9-4/13 | Chpt 6,7 1&2 D arrays |
||||
| 14 4/16-4/20 | Larger programs,Scientific Computing |
|
|||
| 15 4/23- 4/27 |
Chpt. 8 Classes (intro) | Exam II | |||
| 16
4/30-5/4 |
Project linking MATLAB and C++ | |