Weekly Schedule for CSCI 1210-Introduction to Computing for Engineers and Scientists: SPRING 2015

Office Hours: MW:10:50am--11:50am, or by appointment.
Note: This is only a guide as how the course should proceed. Changes might occur.

Section with an asterisk (*) is optional.

Week 1

1. 1/12: ch1, ch2
2.
1/14:  ch2
  • Homework:  2.21 (D=0:10:180), 2.22(solving 2.19)
    always start your script by clc, clear all; close all;
  • always suppress intermediate results and only display the final results by appending a semicolon ; at the end.
    start each problem with a cell mode by
    %% problem # (double percentage sign followed by a space then texts.
    pause;
    display('problem 12.15');
    pause;
    at the beginning of each problem or each separated question (if necessary).
    Use the script
    figure('name','problem #') to open a new figure window. submission format: one single m-script file. The same for each chapter unless otherwise indicated.

 

Week 2

    1/19:  Jan. 19, 20 Martin Luther King Day & Student Holiday.
3.
1/21:  ch3
 
  • Homework:  3.9, 3.17, 3.21, Use the script
    figure('name','problem #') to open a new figure window.

Week 3

4. 1/26:  ch3   
5.
1/28:  ch4
  • Homework: 4.8(Use T=100:100:1000 and P=[100:100:1000] and meshgrid, 4.13

Week 4

6. 02/02:  ch5
7. 02/04: ch5 
  • Homework: 5.4, 5.20 (use T=300:50:1000;), 5.21, 5.27, 5.28, 5.30
    Create one figure for each problem by using `subplot' to include several plots into one figure window. Use the script
    figure('name','problem #') to open a new figure window.

Week 5

8. 02/09:   ch6
9.
02/11:  ch6 
  • Homework: 6.8, 6.13, 6.15 (a) Use 0:25:200; (b) (c) use 0:10:100 
    (submission format: either 1) a compressed folder containing one main m-script file and several files of primary functions that may include subfunctions  or 2) use a single file that includes a primary function with no input and output and several subfunctions and once the primary function is called, it outputs all the required results. This format is illustrated in figures 6.13, 6.14 on pages 230-231.)

Week 6
 

10: 02/16:   ch7
11: 02/18:  ch7 
  • Homework:  7.13 (a)(b)(c); 
    7.17(a)(b)use 0:100:400000 for the miles  and annotate x,y axes and title. Choose the pair of Camry and Camry hybrid. (c)(d). Submit one single M-script file.

Week 7

12. 02/23:  ch8
13:
02/25:  ch8  
  • Homework:  8.17 (optional, no credit given, just for fun), 8.14,  8.18 
    Submission format: You may submit one single M-script file or a compressed file containing a M-script file and files of your user-defined functions .

Week 8

14. 03/02:  ch9
15:
03/04:  ch9 
  • Homework: 8.8 ((data file lake_powell.dat or lake_powell.xls. you might need a for loop to have a more elegant program), 9.16. Submission format: one m-script file.

Week 9

16: 03/09: review 
17:
03/11:  Midterm  
March 13:
Mid-semester Grades Due

Week 10

    

18. 03/16:  ch10
19.
03/18:  ch10

  • Homework: 
  • 1)10.6, 10.7(b), 10.12, 10.14, 10.15, 10.18(c)
  • 2)Create a m-function using the definition of matrix multiplication and for loops to compute the product of two matrices. Your function should accept two input matrices, and output the product. Your function should first check if the dimensions of the two matrices match. If not, indicate the dimensions of the matrices do not match and terminate the program. If the dimensions match, output the product. Then write a script to test your function by using two matrices and compare the result to that by using the built-in matrix multiplication operator (*) via taking the difference of the results.
  • 2) compare the run time of your function and the built-in matrix multiplication operator (*) with a matrix of  size anywhere between 10~200 and report the runtimes of each and the ratio of the  runtimes. You may generate the test matrix by using rand(n), randn(n), or some other types of test matrices.  
  • Submission format: one m-script file and one function file.

Week 11

03/23--03/27: Spring break, no classes.

Week 12

Last day to drop/resign classes: Wed., 04/01
20
: 03/30:  ch11
21: 04/01:  ch11
       Homework:  11.9, 11.12, 11.17, 11.18, 11.19, 11.20
data file for 11.9:  test_results.mat   
data file for 11.12: thermocouple.dat
submission format: one-m-script file.

Submission format: one m-script file.
 

Week 13

22: 04/06:  ch14
23:
04/08: ch14
  • Homework:  14.5--7 (use pause; every time when you change a property of the plot or figure window for each question),14.11 (use a=0:pi/10:8*pi;). 
  • submit format: one m-script file. Use pause; at the beginning of each problem.

Week 14

24. 04/13:  ch12* 
25.
04/15:  ch12* (12.4*, 12.5*, 12.6*) 
Homework: 12.15, 12,20, 12.24(e), 12.25,12.26, 12.27, 12.28, 12.31,12.34, 12.36
 
 

Week 15

26: 04/20:  ch13
27:
04/22:  ch13 (13.4*, 13.5*, 13.6*)
  • Homework: 13.4, 13.12, 13.16, 13.17 (Omit the comparison with the symbolic integration int) , 13.21, 13.22*(optional)
  • Submission format: one m-script file and one function file.

Week 16

28: 04/27: ch15
29: 04/29  ch15 
  • Homework: follow the book to create the GUI ready_aim_fire as shown in Figure 15.23 page 599.
  • 15.3
  • submission format: submit two m-files, one for each problem.

Week 17

30: 05/04:   ch16*
       Homework:
16.10. submit the .mdl file.
  • Last day of class:  Mon., May 04, 2015 for Monday/Wednesday classes.                            
    Tuesday, May 05  for Tuesday/Thursday classes.
  • Final week begins on Thursday, May 07

Week 18

  • Final week
  • Final Exam time: Monday, May 11, 2015, at 08:00--10:30am
  • GOOD LUCK ON THE FINAL AND HAVE A GREAT SUMMER!!!

Last updated: 01/12/2015