CS122 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Winter 2013.

Slides:



Advertisements
Similar presentations
CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2012.
Advertisements

CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2010.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note-taking materials. Today’s daily quiz will be given at the.
CSE 113 Introduction to Computer Programming Lecture slides for Week 10 Monday, October 31 th, 2011 Instructor: Scott Settembre.
Please open your laptops, log in to the MyMathLab course web site, and open Quiz 3.6B. IMPORTANT NOTE: If you have time left after you finish the problems.
Dr. Iyad Jafar Embedded Systems CPE 333. Instructor Information Dr. Iyad F. Jafar Office : Room 002 Computer Engineering Office Hours Sunday & Tuesday.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note-taking materials. Today’s daily quiz will be given at the.
CHEMISTRY 10123/10125 Spring 2007 Instructor: Professor Tracy Hanna Phone: Office: SWR 418
CS123 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Spring 2010.
NRS 122 Concepts of Mental Health Nursing Orientation for Fall 2012 Semester.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University October 6-10, 2008 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University January 5-9, 2009 ©By the author. All rights reserved.
CS 122 Engineering Computation Lab Lab 2 Dan De Sousa and Tim Cheeseman Department of Computer Science Drexel University April 2009 ©By the author. All.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Fall 2012 ©By the author. All rights reserved. Permission.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Welcome to MA 180-2C! Instructor: Dr. Annette LaRussa
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Textbook Elementary Statistics Eleventh Edition by Mario F. Triola.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
WELCOME! IDES 240 – SPRING INTRODUCTIONS Professor: Jon Vredevoogd Assistant Instructor: Kristy Kellom LEAD TA’s: –Ashley Forsythe
CS122 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2011.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Spring 2011.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Spring 2010.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
CSE 113 Introduction to Computer Programming Lecture slides for Week 12 Monday, November 14 th, 2011 Instructor: Scott Settembre.
CS 122 / CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Summer 2011 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Summer, 2009 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
CS 123 Engineering Computation Lab Lab 2 Dan De Sousa and Bruce Char Department of Computer Science Drexel University April 2009 ©By the author. All rights.
CS122 Instructor Assignments Winter, 2010 Term. Overview Some changes in assignments due to schedule considerations Some new initiatives / revised strategies.
Calculus I – Course Syllabus Class Periods: 1:00pm-1:50am MTWF Classroom: Thompson Hall 315 Instructor: Mei Q. Chen, Thompson Hall 230
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS122/CS123 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Summer 2011.
CS122 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Winter 2012.
CS 123 Lab 4 Instructor: Mark Boady Course Designer: Professor Bruce Char Department of Computer Science Drexel University Spring 2013.
CS122 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Spring 2011.
CS122 / CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Summer 2011 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2010.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2012 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 1 Section Instructor: Mark Boady Content By: Bruce Char Department of Computer.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Spring 2012.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Winter, 2011 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2012 ©By the author. All rights reserved. Permission.
CS 122 Engineering Computation Lab Lab 4 Dan De Sousa and Bruce Char Department of Computer Science Drexel University Summer 2009 ©By the author. All rights.
CS123 Engineering Computation Lab Lab 2 Instructor: Mark Boady Content By: Bruce Char Department of Computer Science Drexel University.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2013.
CS 121 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2011.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter, 2011 ©By the author. All rights reserved.
CS122 – Quiz 2 Winter, 2013 Quiz Hints. Quiz 2 Hints Question 1 – working with the “if” statement  First, we did not fully explain the structure of the.
CS122 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Winter 2012.
CS122 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Winter 2010.
CS122 – Quiz 1 Winter, 2013 Quiz Hints. Quiz 1 Hints Question 1 – Understanding procs  First, we did not fully explain the structure of the Maple proc,
CS123 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Spring 2013.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2011.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2012.
CS 122 Engineering Computation Lab Lab1 Bruce Char Department of Computer Science Drexel University Summer 2009 ©By the author. All rights reserved. Permission.
CS 122/CS123 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Summer 2011 ©By the author. All rights reserved.
Teachers: If you hand back Test 4 today, tell your class you will review it with them in class on Thursday when you do the review lecture on Chapters 6,
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
Grade Scale Quiz 3 Results: Average class score after partial credit: XX.X% Commonly missed questions: # ____________________ We will be going over some.
INTE 290 Summer 2015.
CS122 Engineering Computation Lab Lab 4
CS 121 Engineering Computation Lab Lab 3
CS123 Engineering Computation Lab Lab 4
CS122 Engineering Computation Lab Lab 3
Presentation transcript:

CS122 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Winter 2013

Review of Lab 3 Cycle –Major Lab 3 concepts to remember Use of Maple proc to create shapes – triangles, boxes, pickets and fences Use of table variables in conjunction with “for” loop build a fence from pickets Maple plot features –- line plotting –- display – plot multiple graphs on same grid

Administrative Notes Please contact your instructor immediately if you are eligible for extended time for the Proficiency Exam A comprehensive preview for the proficiency exam was sent as an attachment in last Thursday’s weekly communication . Please also review your bbLearn Lab and Quiz grades and report any discrepancies to your instructor As with cs121, there will be an opportunity to earn a 2% bonus for submitting a student evaluation. Details to follow!

Proficiency Exam Preview Same logistics as in cs121 –Proctored format –A quiz pair: 6 point and 9 point quizzes (about 25 and 70 minutes) –Sign-in and score verification on exit –No access to bbLearn or any other non course sites – will have access to all course site materials To be conducted during week of March 11 (week 10) in class for your regularly scheduled lab session Practice – week of March 4 (week 9) –All 4 quizzes and quizlets taken throughout the term will be re-posted on Tuesday, 3/5 – note that quiz 4 will take place during week 9 –A special quiz containing some problems not included in regular quizzes will also be issued – these questions are candidates for inclusion –Full quiz week (9) CLC coverage – Monday through Friday

Quiz Week (9) Activities Quiz 4 will be released on Friday (3/1) at 6 PM –Deadline: Thursday (3/7) at 4:30 PM –Makeup quiz – from Friday (3/8) at 9 AM through Sunday (3/10) at 11:00 PM 30% penalty No Pre-lab quizlet Be sure to visit the CLC for quiz assistance and review the quiz tips Practice week for Proficiency Exam –posting of practice quizzes on 3/5 –Exam to be conducted during week of March 11 (week 10)

Lab 4 Overview Based on materials from Chapter 15 and prior readings –All scripts created as procs within code edit regions –Introduction to time step simulations –Creating movies (animations) from individual frames –Use of “for” and “while” constructs within same loop header

Lab 4 Overview Lab 4 outline –Part 0 exercise Preview of Part 1 (chemical reaction time step simulation) starter script –Part 1 – chemical reaction time step simulation Create a graph of 4 reaction component concentrations over time of the reaction

Lab 4 Overview Lab 4 outline –Part 2 – Movement of a bouncing ball 2.1 – modification of a starter script (Blammo trajectory logic) to create an initial trajectory into ground 2.2 – Further modification to produce bounces and rebounds off of ground 2.3 – Plot and movie to show a specified number of bounces

Anatomy of an animation # 1 st, create a table variable to store frames –frames := table(); # Within loop, populate table with individual frames –frames[i] := plot([xp],[yp],style=point, color=“green”); # this plot is of a single point (xp,yp) # after all frames are populated, run an animation # insequence=true causes the animation to take place –display(convert(frames,list), insequence=true,scaling=constrained);

Time Step Simulations A word about time step simulations –We introduce time step simulations in the chemical reaction (Part 1) and bouncing ball (Part 2) simulations in today’s lab –In a time staged simulation, the loop steps represent time slices –Each iteration of the loop calculates the next generation of values based on correlations using the present generation –In today’s chemical reaction lab, the concentrations the of 4 reaction components are computed for the next generation (step) from their current values and other coefficients –In the bouncing ball simulation, the position of the ball is captured at each time slice for it’s trajectory –The predator / prey example from quiz 3 was an example of a time step simulation

Use of “for” and “while” within same loop header Example from today’s lab – Part 2 (bouncing ball) for i from 1 while numbounces < 6 do –# the “for i from 1” portion of the header enables use of a counter (i) to populate subscripts within the loop –# the “while numbounces < 6” portion conditionally loops until the 6 th bounce has been determined

And Finally, a Pre Part 0 Demo Animation of the predator / prey model for a 100 year cycle –Will demonstrate how to capture and animate a sequence of frames, each containing a pair of points representing rabbit and fox populations at a specific time slice (year) –Will also illustrate the power of plots and animations to effectively depict a simulation of this nature