e7 homework solution
Post on 11-Oct-2015
179 Views
Preview:
DESCRIPTION
TRANSCRIPT
-
1E7 L1
E7: INTRODUCTION TO COMPUTER PROGRAMMING FOR
SCIENTISTS AND ENGINEERS
Instructors:Roberto HorowitzAndrew Packard
Department of Mechanical EngineeringUniversity of California at Berkeley
Copyright 2009, Horowitz, Packard. This work is licensed under the Creative Commons Attribution-Share Alike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. E7 L1
E7: INTRODUCTION TO COMPUTER PROGRAMMING FOR
SCIENTISTS AND ENGINEERS
Instructor:Roberto Horowitz
Office Hours: Tu 4:005:30, Th 2:003:305138 Etcheverry Hall
E7 L1
E7: INTRODUCTION TO COMPUTER PROGRAMMING FOR
SCIENTISTS AND ENGINEERS
Instructor:Andrew Packard
Office Hours:
Tu: 1:30-2:30, We: 2:30-3:30, Th: 9-105116 Etcheverry Hall
E7 L1
4
E7: INTRODUCTION TO COMPUTER PROGRAMMING FOR SCIENTISTS AND ENGINEERS
Lecture Outline
1. Course organization
2. Textbook, grading and software
3. About Matlab and course instructors
-
2E7 L1
5Course organization
Two 50-minute lectures per week
Two 2-hour laboratory sessions per week
Labs begin Wednesday 9/04 next week
One 50-minute discussion session per week
Discussions begin Friday 8/30 today
E7 L1
6Course organization
Lecture Times
Monday and Wednesday, 12:00 - 1:00 in 4 Leconte Monday and Wednesday, 1:00 - 2:00 in 4 Leconte
An instructor will teach both lectures on the same day
You can attend either time Preference seating is given to students enrolled in
the section corresponding to the lecture time
E7 L1
7Course organization
MANDATORY Discussion section times and location
Fridays, 12:00 - 1:00 in 4 Leconte Fridays, 1:00 - 2:00 in 4 Leconte
An instructor will teach both discussions on the same day
You can attend either time; but preference seating is given to enrolled students
Laboratory assignments are introduced and discussed E7 L1
8E7 Midterms (2)
IMPORTANT: Midterms will take place during the discussion section times.
Fridays, 12:00 - 1:00 in 4 Leconte For students enrolled in Discussion Sec. 101 F 12:00-1:00
Fridays, 1:00 - 2:00 in 4 Leconte For students enrolled in Discussion Sec. 201 F 1:00-2:00
Tentative midterm dates: 10/11 and 11/15
-
3E7 L1
9Course organization
Two 2-hour laboratory sessions per week
Two lab locations
1. 1109 Etcheverry Hall (34 computers in the room)2. 212 Wheeler Hall (34 computers in the room)
Total Capacity: 340 students
Labs start next week on Wednesday 9/4 First assignment will be due on Friday 9/13.
(Monday 9/2 is Labor Day Holiday)
E7 L1
10Laboratory Sections 10 Section Time Location GSIs Cap Ava11 TuTh 8-10 1109 Etcheverry TBD 34 112 TuTh 10-12 1109 Etcheverry TBD 34 213 TuTh 12-2 1109 Etcheverry TBD 34 114 TuTh 2-4 1109 Etcheverry TBD 34 015 TuTh 4-6 1109 Etcheverry TBD 34 116 MW 8-10 1109 Etcheverry TBD 34 2317 MW 10-12 1109 Etcheverry TBD 34 118 MW 2-4 1109 Etcheverry TBD 34 019 MW 4-6 1109 Etcheverry TBD 34 820 TuTh 10-12 212 Wheeler TBD 34 7
Total 340
E7 L2
11E7 Enrollment
Course enrollment is limited by the total number of students that can attend the laboratory sections and the room capacity in the lecture and discussion halls Maximum: 340 students
To register in E7 you must be enrolled in:a lecture, a discussion and a lab section
In previous years, most students that wanted to take E7 were eventually enrolled.
We will do our best effort to accommodate as many students as possible this semester as well.
E7 L2
12Laboratory computer usage policy
Laboratory sections can only accommodate as many students as available workstations (34).
During the time that a laboratory section is taking place, the students that are enrolled in that section have priority use of the computers.
If you want to change sections, you have to drop your current section, and then enroll in the section you want (or get into the waiting list).
Instructors cannot change wait list order or get students into a section that is full.
-
4E7 Minimum Prerequisites
1) Pre-calculus MATH, MATH 1A
2) MATH 1B must be taken concurrently
E7 L1
13
E7 L1
14E7 recommended textbook
Applied Numerical Methods with Matlab (Custom) by Steven C. Chapra, 3rd edition McGraw-Hill
Derivation and description of the numerical methods covered in E7
Sample of matlabcodes, functions, semantics, etc.
Problems
E7 L1
15Other matlab references
Many matlab references books can be purchased online e.g.amazon.com
MATLAB Help
E7
16
Extensive help on all matlab commands Many demos and examples Help also available at
http://www.mathworks.com
Click here
-
5E7 L1
17Recommended software purchase
Student Price: $ 100.00
http://www.mathworks.com/academia/student_version/
Contains:
MATLAB, SIMULINK Statistics Toolbox Optimization Toolbox Image Processing Toolbox Symbolic math functions and more
MATLAB & Simulink Student Version Version R2013A
E7 L1
18Recommended software purchase
Student Price: $ 100.00
http://www.mathworks.com/academia/student_version/
Professional price is about $900
You would be hard pressed to notice the difference between the student and the professional version.
MATLAB & Simulink Student Version Version R2013A
E7 L1
19E7 Course website is at bCourses
bCourses (CalCentral.berkeley.edu) is the next version of bspace (we are using a beta-version)
Course handouts Course reader Lecture material Announcements about the course Laboratory assignments Laboratory assignment drop box (due Fridays noon) Exam information Grades Take Quizzes more later
E7 L1
20Grading
Grade computation is based on:
30% Laboratory assignments (~ 12) 5% Quizzes 15% Midterm examination 1 15% Midterm examination 2 35% Final examination
Straight or curved grading scale?
Probably curved Typical class GPA is around B-
-
6E7 L1
21Weekly Laboratory Assignments
Posted Thursday evening or Friday morning
Due the following Friday at Noon (12 PM).
UNLESS OTHERWISE STATED, YOU MUST
1. Download auto-grader (matlab p file) from bCourse.2. Run the auto-grader on your current assignment directory 3. Upload file generated by auto-grader to the bCourses E7
drop box BEFORE Friday NOON
Labs begin Wednesday 9/4First assignment will be due on Friday 9/13
E7 L1
22Weekly Laboratory Assignments
Posted Thursdays afternoons
Due the following Friday at Noon (12 PM).
NEXT FRIDAY, DURING DISCUSSION SESSIONS:
We will explain how laboratory assignments must be prepared, auto-graded and turned in.
E7 L1
23Weekly Laboratory Assignments
Posted Thursdays afternoons
Due the following Friday at Noon (12 PM).
Work individually and with the GSI during the lab sections to complete lab.
DO NOT COPY CODE (we will probably catch you)
It is ok to discuss with fellow students, but not to copy code or allow your code to be copied.
E7 L1
24E7 Honor Code
The student community at UC Berkeley has adopted the following Honor Code:
"As a member of the UC Berkeley community, I act with honesty, integrity, and respect for others."
Your E7 instructors join you in pledging to adhere to this code.
-
7E7 Online Quizzes
We will often require students to take 1 or 2 on-line quizzes per week (one after each lecture). Quizzes will be available in the E7 bCourses
website
You can take each quiz as often as you want from the moment that they are made available, until the moment that they are closed MONDAY
MORNING (08:00 am).
We expect students to get 100% on the quizzes. Quizzes will be worth 5% of your overall grade.
E7
25 E7 Final Exam
Exam group for both E7 lecture sections is: Exam group 12 WEDNESDAY, DECEMBER 18, 7-10 pm.
This group includes all courses that are taught MWF at 1:00 and MTWTF 1:00.
We will have a one and only alternate final examination time **ONLY** for students that are taking another exam group 12 class (proof of enrollment required). WEDNESDAY, DECEMBER 18, 3-6 pm
E7
26
E7 Final Exam
If you are taking
E7 section 1 (12:00-1:00) A Class in Exam group 12 (M,W,F 1-2) A class in exam group 11 (Tu, Th 8-9, 8-9:30)
You will probably have to drop one of these three courses
E7
27
E7 L1
28About Matlab
A 20+ year old language that has evolved into a programming environment for scientific software development.
Its a user-friendly but powerful integrated environment, that includes:
programming language programming tools (profiler, debugger, editor, publisher) graphics high-performance numerical computations symbolic computations interfaces to Java, C and Fortran real-time interfacing more
-
8E7 L1
29About Roberto Horowitz
Email: horowitz@berkeley.edu
Born and raised in Caracas, Venezuela
(hence the Spanglish accent just like the most interesting man in the world)
Professor of Mechanical Engineering since 1983. B.S. and Ph.D. degrees in ME from CAL Go Bears!
Does research in control systems, mechatronics and transportation control systems
Director of the Program for Advanced Transportation Technology (PATH)
Has used matlab extensively and taught E7 multiple times.
(include E7 in your header)
E7 L1
30About Andrew Packard
Email: pack@me.Berkeley.EDU
Raised in Chicago
Teaches in Mechanical Engineering since 1990. Ph.D. degree in Mech. Eng. From CAL Go Bears!
Does research in control systems and optimization
Won university-wide Distinguished Teaching Award in 1995
Extensive experience in Matlab and has taught E7and E177 multiple times.
(include E7 in your header)
E7 L1
31About Chen-Yu Chan (Head GSI)
Email: chanchenyu@berkeley.edu
Born and raised in Taiwan
B.S. degree in EECS, M.S. degree in Control Engineering
Currently a Ph.D. student in Mechanical Engineering, MSC Lab, does research in the Human Mechatronic Group
Hobbies: cooking, traveling, badminton
Has extensive programming experience in Matlab.
He wont respond to any facebook friend request.
(include E7 in your header)
Instructors and head GSIs Office Hours
Roberto Horowitz Tu: 4:00-5:30 in 5138 Etcheverry Hall Th: 2:00-3:30
Andy Packard Tu: 1:30-2:30, in 5116 Etcheverry Hall We: 2:30-3:30, Th: 9-10:00
Chen-Yu Chan
M, Tu 10:00-11:00 in 136 Hesse HallE7
32
top related