CS 123 Computational Lab IIl Spring 2008 Department of Computer Science Drexel University Copyright by the authors. Permission is given for students and.

Slides:



Advertisements
Similar presentations
Today’s Agenda  Syllabus CS2336: Computer Science II.
Advertisements

Welcome to Physics 2025! ( General Physics Lab 2 - Spring 2013)
Applying the well known formula:
Look Ahead Today – HW#4 out Monday – Regular class (not lab) Tuesday – HW#4 due at 4:45 Wednesday – Last class - return clickers Thursday – Regular office.
Management Information Systems Dr. Eric Breimer. Course Syllabus CSIS-114: Management Information Systems (Spring 2006) Lecture: Wednesday and Friday,
Dr. Tatiana Erukhimova [year] Overview of Today’s Class Folders Syllabus and Course requirements Tricks to survive Mechanics Review and Coulomb’s Law.
MAT 1234 Calculus I Introduction to Maple
Math 174, Spring 2004 Introduction -- Desert Vista Campus -- Northwest Campus.
Please open your laptops, log in to the MyMathLab course web site, and open Quiz 3.1 IMPORTANT NOTE: If you have time left on your quiz clock after you.
1 Fundamental Theorem of Calculus Section The Fundamental Theorem of Calculus If a function f is continuous on the closed interval [a, b] and F.
COP4020/CGS5426 Programming languages Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: T, H 10:00am – 11:30am Class website:
CS 123 Computational Lab IIl Spring 2008 Department of Computer Science Drexel University Copyright by the authors. Permission is given for students and.
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.
Welcome to CS 115! Introduction to Programming. Class URL Please write this down!
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall 5.4 Fundamental Theorem of Calculus.
Computer Network Fundamentals CNT4007C
Please open Daily Quiz 34. A scientific calculator may be used on this quiz. You can keep your yellow formula sheets out when you take the quiz. Remember.
Numerical Computation Lecture 0: Course Introduction Dr. Weifeng SU United International College Autumn 2010.
CS 123 Computational Lab IIl Spring 2008 Department of Computer Science Drexel University Copyright by the authors. Permission is given for students and.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
1 The student will learn about: §4.4 Definite Integrals and Areas. the fundamental theorem of calculus, and the history of integral calculus, some applications.
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 123 Computational Lab IIl Spring 2008 Department of Computer Science Drexel University Copyright by the authors. Permission is given for students and.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
7.4: The Fundamental Theorem of Calculus Objectives: To use the FTC to evaluate definite integrals To calculate total area under a curve using FTC and.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
ECE 1100: Introduction to Electrical and Computer Engineering Wanda Wosik Associate Professor, ECE Dept. Notes 1 Spring 2011 Slides adapted from lectures.
CS 121 Engineering Computation Lab Lab 4 Department of Computer Science Drexel University Summer 2009 ©By the author. All rights reserved. Permission is.
CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Spring 2010.
Welcome to Physics 2015! ( General Physics Lab 1 - Fall 2012)
Announcements Topics: -sections 7.3 (definite integrals) and 7.4 (FTC) * Read these sections and study solved examples in your textbook! Work On: -Practice.
Section 4.4 The Fundamental Theorem of Calculus Part II – The Second Fundamental Theorem.
4.4 The Fundamental Theorem of Calculus
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Summer, 2009 ©By the author. All rights reserved.
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.
3. Fundamental Theorem of Calculus. Fundamental Theorem of Calculus We’ve learned two different branches of calculus so far: differentiation and integration.
Welcome to the MTLC MATH 115 Spring MTLC Information  Hours of Operation  Sunday:4:00pm – 10:00pm  Monday – Thursday: 8:00am – 10:00pm  Friday:8:00am.
The Fundamental Theorem of Calculus
1 CS1430: Programming in C++ Section 2 Instructor: Qi Yang 213 Ullrich
CS 121 Engineering Computation Lab Lab 3 Department of Computer Science Drexel University Summer 2009 ©By the author. All rights reserved. Permission is.
CS123 Engineering Computation Lab Lab 1 Section Instructor: Mark Boady Content By: Bruce Char Department of Computer.
1 CS 101 Today’s class will begin about 5 minutes late We will discuss the lab scheduling problems once class starts.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Winter, 2011 ©By the author. All rights reserved.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2002 Sections Ms. Susan Mitchell.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2001 Sections Ms. Susan Mitchell.
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.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2003 Mr. Frey (0101 – 0104) Mr. Raouf (0201 – 0204)
Winter 2016CISC101 - Prof. McLeod1 CISC101 Elements of Computing Science I Course Web Site: The lecture outlines.
CS112: Course Overview George Mason University. Today’s topics Go over the syllabus Go over resources – Marmoset – Blackboard – Piazza – Textbook Highlight.
CS 121 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 4 Department of Computer Science Drexel University February 16-20, 2008 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Spring 2013.
CS 122 Engineering Computation Lab Lab1 Bruce Char Department of Computer Science Drexel University Summer 2009 ©By the author. All rights reserved. Permission.
Welcome to Physics 2225! Physics Lab for Scientist & Engineers 2 Fall 2012.
Welcome to CS 115! Introduction to Programming Spring 2016.
Announcements Topics: -sections 7.3 (definite integrals) and 7.4 (FTC) * Read these sections and study solved examples in your textbook! Work On: -Practice.
Announcements Topics: -sections 7.3 (definite integrals) and 7.4 (FTC) * Read these sections and study solved examples in your textbook! Work On: -Practice.
Syllabus and Class Policies MATH 130: Summer 2016.
5.2/3 Definite Integral and the Fundamental Theorem of Calculus Wed Jan 20 Do Now 1)Find the area under f(x) = 3 – x in the interval [0,3] using 3 leftendpt.
Announcements Topics: -sections 7.3 (definite integrals), 7.4 (FTC), and 7.5 (additional techniques of integration) * Read these sections and study solved.
AP Calculus Unit 5 Day 6. Explain why this makes sense based on your knowledge of what an integral represents.
MATH 2413 Summer – 3:15 MTuWTh Room 382 Professor Thomas Jay.
Welcome to Physics 2015! (General Physics Lab 1 – Spring 2013)
CS 121 Engineering Computation Lab Lab 2
CS123 Engineering Computation Lab Lab 4
CSC 111 Course orientation
CS 121 Engineering Computation Lab Lab 3
CS Problem Solving and Object Oriented Programming Spring 2019
Presentation transcript:

CS 123 Computational Lab IIl Spring 2008 Department of Computer Science Drexel University Copyright by the authors. Permission is given for students and staff of CS 123 Spring 2008 to reproduce these notes for their own use.

CS 123 Policies Week(s) ComponentQuantity Individual WeightTotal Weight 2, 4, 6, 8Labs411%44% 3, 5, 7, 9Quizzes45%20% 10Exam136% *Unexcused missed quizzes, labs, or exams will be given a grade of 0. *Course grades will be one of: A, B, C, D or F. Lab Policy : Please note that you should attend your regular lab section, in case of serious problems you can make up the lab in other sections by your and that section’s instructor permit. IF YOU DO NOT ATTEND A LAB AND JUST SUBMIT IT VIA BB YOU SHOULD CONTACT YOUR INSTRUCTOR. ONLY IN EXCUSED PROBLEM CASES YOU WILL RECEIVE A FULL GRADE.

Useful Links : 1)Course web Site : 2) Maple TA : (see Course Web site for link – it’s not the same as last term because we are using a newer version of MapleTA) Quiz 1 will be up on this page when it is released at the end of this week 3) Bb Vista (same as always):

Calendar ActivityDue Date Lab 1Week 2 (Start: Apr 07 )Week 3 ( Apr 18, 5:00 PM) Quiz 1Start ( Apr 13)Week 3 ( Apr 18, 5:00 PM) Lab 2Week 4Week 5 Quiz 2Week 5 Lab 3Week 6Week 7 Quiz 3Week 7 Lab 4Week 8Week 9 Quiz 4Week 9 Lab exam (in class)Week 10

So, What is today’s Lab about? Integration in Maple and how to implement Integrating procedures Goals –Explore Maple's facilities for computing indefinite and definite integrals –View integration algorithmically –Develop some understanding of how a computer can integrate LET’S START WITH MATH DEFINITIONS!

Definite integration is equal to the area of a region in the xy- plane bounded by the graph of f, the x-axis, and the vertical lines x = a and x = b, with areas below the x-axis being subtracted.area graph

Indefinite integration

Fundamental Theorem of Calculus (FTC) Theorem. Let f be a function which is continuous on the interval [a, b]. 1)Let F be an indefinite integral or antiderivative of f. Then: 2) The function : is an indefinite integral or antiderivative of f. That is, A'(x) = f(x) USAGE!?Look at Example 1Look at Example 1 Look at Example 2

Integration in Maple “ int” : The Maple int command will handle most integrals that can be done analytically. Both definite and indefinite integrals can be done Example : > int(x^2,x);  1/3 x^3 > int(x^2,x=0..2);  8/3 > int(sin(4*x),x);  -1/4 cos(4x) When Maple can't do an integral, it simply returns it unevaluated  use “EVALF” for definite integration > int(cos(x^3),x=0..1); > evalf(int(cos(x^3),x=0..1));

Maple Commands to verify integration Expand. The expand command is useful for expanding various mathematical expressions: expand(expr, expr1, expr2,...,exprn); >expand((x+1)*(x+2)); Simplify. The simplify command is in some ways the opposite of the expand command: –simplify(expr); –simplify(expr, n1, n2,...); simplify(expr, assume=prop); > simplify(4^(1/2)+3); 5 > simplify((x^a)^b+4^(1/2), power);

Simplification at work

Testing equality with simplify It still isn’t easy to always get the simplifier to put an expression in exactly the same form that you want. To test equality of expressions, try to simplify their difference. If it’s zero, it means that they are equivalent through some combination of expansions, arithmetic, trig and power laws, etc.

Simplification and equality

Normal is a simplifier that works only with numerators and denominators Normal can be cheaper than simplify because it is more limited than simplify which is more “kitchen sink”. It can also be more effective because of the limitations, such as its expanded options that works specifically on expanding numerators and denominators without changing anything else.

Piecewise continuous functions How to define some function like: If/else doesn’t work! -> use: piecewise( condition, true-expression, otherwise expression) > fexpr:= piecewise( x>=0, x, -1* x); Now solve /diff/ plot/int as before just like other expressions ! >dexpr := diff(fexpr,x);, …

Parametric curves and arc length What was arc length ? –S = r * Ɵ How to find in maple!? Include new package: Student[Calculus1][Arclength]([ x expression, y expression], parameter = a..b); Example : >Student[Calculus1][ArcLength]( *x-0.41*x^2,x=0..4.6);

Lab structure This lab is divided into the following sections: Required Reading: Introduction & Overview, Tutorials 1-4, Wrap-Up Required Problems: Problems 1-4 Optional Problems: Problems 5 & 6 Work in groups as always !!

Wrap up: What to turn in?! Lab 1  Due Apr 18 th,5 P.M Quiz 1  Due Apr 18 th,5 P.M -Submit your lab via Bb Vista -We have office hours in UC145 next week, if you had any problem in Quiz 1 feel free to stop by and ask questions!

Any questions!? Good luck! Office hours schedule: -UC 145 during non-class weeks all day from 9 am to 5 p.m., plus occasionally oter hours in later in the day. -Other times you can post questions on Bb discussion area - your instructors in case of grading questions, issues, or problems