cs123 engineering computation lab lab 1

7
CS123 Engineering Computation Lab Lab 1 Section Instructor: Mark Boady Email: [email protected] Content By: Bruce Char Department of Computer Science Drexel University Spring 2013

Upload: eyad

Post on 27-Jan-2016

58 views

Category:

Documents


6 download

DESCRIPTION

CS123 Engineering Computation Lab Lab 1. Section Instructor: Mark Boady Email: [email protected] Content By: Bruce Char Department of Computer Science Drexel University Spring 2013. Calculus Maximize, Spline, Piecewise, Integral, Diff Lab 1 Procedures: Advanced Procedure Creation - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CS123 Engineering Computation Lab Lab 1

CS123 Engineering Computation LabLab 1

Section Instructor: Mark Boady

Email: [email protected]

Content By: Bruce Char

Department of Computer Science

Drexel University

Spring 2013

Page 2: CS123 Engineering Computation Lab Lab 1

* Calculus* Maximize, Spline, Piecewise, Integral, Diff

* Lab 1* Procedures: Advanced Procedure Creation* Lab 2 and Lab 3

* Creating User Interfaces* Lab 3 and 4

* Advanced Simulations* Lab 4

Page 3: CS123 Engineering Computation Lab Lab 1

4 labs in even numbered weeks (2, 4, 6 and 8)

4 quizzes in odd numbered weeks (3, 5, 7 and 9)

3 pre-lab quizlets in weeks (3, 5 and 7)

Proficiency Exam in week 10

Flow of course similar to cs121 and cs122

Be sure to review contents of course web site for detailswww.cs.drexel.edu/complab/cs123/spring2013

Page 4: CS123 Engineering Computation Lab Lab 1

Extra consultation activityIntended for students who struggled with the quizzes and

proficiency exam in cs122* Goal of 1or 2 sections

4 sessions to be held on Tuesday evenings following lab week (weeks 3, 5, 7 and 9)

* 6 to 7:50 PM

* *** Monday session will be added if attendance warrants

Focus on problem solving and Maple exercises to enable enhanced performance in quizzes

A 3 point bonus will be awarded to all students who attend all 4 sessions

To enroll, please contact Dave Augenblick at* [email protected]

1st session Tuesday, April 16th (+ perhaps Monday, 4/15)

Page 5: CS123 Engineering Computation Lab Lab 1

Please contact your individual instructors with questions and problems

CLC (room 147 UC) will be staffed at same times as for cs122 in Winter (odd weeks – starting week 3)Note that CLC is staffed on Monday through Friday (9 AM to 5

PM) Missed work policies – same as in cs121 and cs122

Makeup labs to be held on Monday at 6 PM (odd weeks). Must receive explicit approval from your instructor in order to attend!

Makeup quiz offered (30% penalty) – Friday through Sunday after completion of regular quiz

* No excused quizzes due to MapleTA login issues – please resolve any such issues immediately

* All MapleTA login accounts have been (re) set to your Drexel id (ID) and 8 digit student number (password)

No makeup quizletsNo bbLearn Discussion Board monitoring this term

Page 6: CS123 Engineering Computation Lab Lab 1

Quiz 1 will be released on Friday (4/13) at 6 PMDeadline: Thursday (4/19) at 4:30 PMMakeup quiz – from Friday (4/20) at 9 AM through

Sunday (4/22) at 11:00 PM* 30% penalty

Pre-lab 2 quizlet From Thursday (4/19 – noon) through Monday

(4/23 – 8 AM)Be sure to visit the CLC for quiz or general

Maple assistanceBe sure to register for extra consultation

initiative if interested

Page 7: CS123 Engineering Computation Lab Lab 1

Piecewise:top:=piecewise(x<=4,4,4 < x and x <= 8, 8, 8 < x and x <= 9, 6,7);bottom:=1;int(top-bottom, x = 0 .. 12);Spline:with(CurveFitting);with(plots):xVals := [1, 1.5, 2.1, 3.0];yVals := [3, 2.8, 4.6, 4.4];myspline1:=Spline(xVals,yVals,x,degree=1);p1:=plot(myspline1,x=1..3);myspline3:=Spline(xVals,yVals,x,degree=3);p2:=plot(myspline3,x=1..3,color="blue");display(p1,p2);

Minimize/MaximizeKnownArea:=2000;BoxArea:=w*h;BoxPer:=2*w+2*h;

HinW:=solve(BoxArea=KnownArea,h);BoxPerNoH:=eval(BoxPer,h=HinW);

res:=Optimization[Minimize](BoxPerNoH,w=0.01...50000);minimize(BoxPerNoH,w=0.01..5000);eval(HinW,res[2]);

Calculus:int(x^2,x=0..2);int(sin(x),x);diff(sqrt(x),x);

eval(myspline3,x=5);