65 Pages

CS1114-lec9

Course: CS 100, Fall 2008
School: Cornell
Rating:
 
 
 
 
 

Word Count: 1776

Document Preview

and Breadthfirst depthfirst traversal Prof. Noah Snavely CS1114 http://cs1114.cs.cornell.edu Administrivia Assignment 2, Part 2, due Friday Assignment 3 will be out Friday Survey: Please sign up for a Friday slot Should we move lecture closer to the lab? Prelim 1! Next Thursday, 2/26, in class There will be a review session TBA 2 Final notes on BigO Notation If algorithm A is O(n2) and algorithm B...

Register Now

Unformatted Document Excerpt

Coursehero >> New York >> Cornell >> CS 100

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
and Breadthfirst depthfirst traversal Prof. Noah Snavely CS1114 http://cs1114.cs.cornell.edu Administrivia Assignment 2, Part 2, due Friday Assignment 3 will be out Friday Survey: Please sign up for a Friday slot Should we move lecture closer to the lab? Prelim 1! Next Thursday, 2/26, in class There will be a review session TBA 2 Final notes on BigO Notation If algorithm A is O(n2) and algorithm B is O(n), we know that: For large n, A will eventually run much slower than B For small n, we know very little: A could be slower B could be slower They could have similar runtimes Or difference could be very large 3 Final notes on BigO Notation B A A B 4 Finding blobs 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 Finding blobs 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 Blobs are connected components! Finding components 1. Pick a 1 to start with, where you don't know which component it is in 2. Give it a new component color 3. Assign the same component color to each pixel that is part of the same component Basic strategy: color any neighboring 1's, have them color their neighbors, and so on When there aren't any, you're done 7 Finding components For each vertex we visit, we color its neighbors and remember that we need to visit them at some point Need to keep track of the vertices we still need to visit in a todo list After we visit a vertex, we'll pick one of the vertices in the todo list to visit next This is also called graph traversal 8 Stacks and queues Two ways of representing a "todo list" Stack: Last In First Out (LIFO) (Think cafeteria trays) The newest task is the one you'll do next Queue: First In First Out (FIFO) (Think a line of people at the cafeteria) The oldest task is the one you'll do next 9 Stacks Two operations: Push: add something to the top of the stack Pop: remove the thing on top of the stack 10 Queue Two operations: Enqueue: add something to the end of the queue Dequeue: remove something from the front of the queue 11 Graph traversal Suppose you're in a maze What strategy can you use to find the exit? 12 Graph traversal London Paris Frankfurt Oslo Stockholm Hamburg Rome Naples Berlin Vienna Prague Warsaw 13 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: London Todo list: [ ] 14 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: London Todo list: [ Paris ] 15 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: Paris Todo list: [ ] 16 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: Paris Todo list: [ Frankfurt, Berlin, Rome ] 17 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin Vienna Prague Warsaw Current node: Rome Todo list: [ Frankfurt, Berlin ] 18 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin Vienna Prague Warsaw Current node: Rome Todo list: [ Frankfurt, Berlin, Naples ] 19 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin Vienna Prague 4 Warsaw Current node: Naples Todo list: [ Frankfurt, Berlin ] 20 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin 5 Vienna Prague 4 Warsaw Current node: Berlin Todo list: [ Frankfurt ] 21 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin 5 Vienna Prague 4 Warsaw Current node: Berlin Todo list: [ Frankfurt, Hamburg, Vienna ] 22 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin 5 Vienna 6 Prague 4 Warsaw Current node: Vienna Todo list: [ Frankfurt, Hamburg ] 23 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin 5 Vienna 6 Prague 4 Warsaw Current node: Vienna Todo list: [ Frankfurt, Hamburg, Prague, Warsaw ] 24 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin 5 Vienna 6 Prague 4 Warsaw Current node: Vienna Todo list: [ Frankfurt, Hamburg, Prague, Warsaw ] 25 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin 5 Vienna 6 Prague 4 7 Warsaw Current node: Warsaw Todo list: [ Frankfurt, Hamburg, Prague ] 26 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg 3 Rome Naples Berlin 5 Vienna 6 Prague 8 7 Warsaw 4 Current node: Prague Todo list: [ Frankfurt, Hamburg ] 27 Graph traversal (stack) London 1 Paris Frankfurt Oslo Stockholm 2 9 Hamburg 5 Vienna Prague 3 Rome Naples Berlin 6 8 7 Warsaw 4 Current node: Hamburg Todo list: [ Frankfurt ] 28 Graph traversal (stack) London 1 Paris Frankfurt Oslo 2 10 Stockholm 9 Hamburg 5 Vienna Prague 3 Rome Naples Berlin 6 8 7 Warsaw 4 Current node: Frankfurt Todo list: [ ] 29 Depthfirst search (DFS) 1 2 10 9 5 6 7 8 3 4 Call the starting node the root We traverse paths all the way until we get to a deadend, then backtrack (until we find an unexplored path) 30 Another strategy 1. Explore all the cities that are one hop away from the root 2. Explore all cities that are two hops away from the root 3. Explore all cities that are three hops away from the root ... This corresponds to using a queue 31 Graph traversal (queue) London 1 Paris Frankfurt Oslo Stockholm Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: London Todo list: [ ] 32 Graph traversal (queue) London 1 Paris Frankfurt Oslo Stockholm Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: London Todo list: [ Paris ] 33 Graph traversal Naples Berlin Vienna Prague Warsaw Current (queue) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg Rome node: Paris Todo list: [ ] 34 Graph traversal (queue) London 1 Paris Frankfurt Oslo Stockholm 2 Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: Paris Todo list: [ Frankfurt, Berlin, Rome ] 35 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: Frankfurt Todo list: [ Berlin, Rome ] 36 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm Hamburg Rome Naples Berlin Vienna Prague Warsaw Current node: Frankfurt Todo list: [ Berlin, Rome, Hamburg ] 37 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm Hamburg Rome Naples Berlin 4 Vienna Prague Warsaw Current node: Berlin Todo list: [ Rome, Hamburg ] 38 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm Hamburg Rome Naples Berlin 4 Vienna Prague Warsaw Current node: Berlin Todo list: [ Rome, Hamburg, Vienna ] 39 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm Hamburg 5 Rome Naples Berlin 4 Vienna Prague Warsaw Current node: Rome Todo list: [ Hamburg, Vienna ] 40 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm Hamburg 5 Rome Naples Berlin 4 Vienna Prague Warsaw Current node: Rome Todo list: [ Hamburg, Vienna, Naples ] 41 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm 6 Hamburg 4 Vienna Prague 5 Rome Naples Berlin Warsaw Current node: Hamburg Todo list: [ Vienna, Naples ] 42 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm 6 Hamburg 4 Vienna Prague 5 Rome Naples Berlin 7 Warsaw Current node: Vienna Todo list: [ Naples ] 43 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm 6 Hamburg 4 Vienna Prague 5 Rome Naples Berlin 7 Warsaw Current node: Vienna Todo list: [ Naples, Prague, Warsaw ] 44 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm 6 Hamburg 4 Vienna Prague 5 Rome Naples Berlin 7 8 Warsaw Current node: Naples Todo list: [ Prague, Warsaw ] 45 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm 6 Hamburg 4 Vienna Prague 5 Rome Naples Berlin 7 9 Warsaw 8 Current node: Prague Todo list: [ Warsaw ] 46 Graph traversal (queue) London 1 Paris Frankfurt Oslo 2 3 Stockholm 6 Hamburg 4 Vienna Prague 5 Rome Naples Berlin 7 9 10 Warsaw 8 Current node: Warsaw Todo list: [ ] 47 Breadthfirst search (BFS) 1 2 3 6 4 7 10 9 5 8 We visit all the vertices at the same level (same distance to the root) before moving on to the next level 48 BFS vs. DFS 1 2 3 6 4 7 10 9 4 1 2 10 9 5 6 7 8 5 8 3 Breadthfirst (queue) Depthfirst (stack) 49 BFS vs. DFS (tree = graph with no cycles) 50 Basic algorithms BREADTHFIRST SEARCH (Graph G) While there is an uncolored node r Choose a new color Create an empty queue Q Let r be the root node, color it, and add it to Q While Q is not empty Dequeue a node v from Q For each of v's neighbors u - If u is not colored, color it and add it to Q 51 Basic algorithms DEPTHFIRST SEARCH (Graph G) While there is an uncolored node r Choose a new color Create an empty stack S Let r be the root node, color it, and push it on S While S is not empty Pop a node v from S For each of v's neighbors u - If u is not colored, color it and push it onto S 52 Queues and Stacks Examples of Abstract Data Types (ADTs) ADTs fulfill a contract: The contract tells you what the ADT can do, and what the behavior is For instance, with a stack: We can push and pop If we push X onto S and then pop S, we get back X, and S is as befor...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Cornell - CS - 100
Breadth-first and depth-first traversalProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaAssignment 2, Part 2, due Friday Please sign up for a Friday slotAssignment 3 will be out Friday Survey: Should we move lecture closer t
Cornell - CS - 100
Linked listsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Assignment 2, Part 2 due tomorrow Please don't wait until the last minute to finish (the last two problems are challenging) Assignment 3 will be posted tomorrow
Cornell - CS - 100
Linked listsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaAssignment 2, Part 2 due tomorrow Please don't wait until the last minute to finish (the last two problems are challenging)Assignment 3 will be posted tomorrow Due
Cornell - CS - 100
Linked lists and memory allocationProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Assignment 3 has been posted Due next Friday, March 6 Prelim 1 Thursday in class Review session this evening at 7:15pm, Upson 315 Review
Cornell - CS - 100
Linked lists and memory allocationProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaAssignment 3 has been posted Due next Friday, March 6Prelim 1 Thursday in class Review session this evening at 7:15pm, Upson 315 Review sess
Cornell - CS - 100
CS1114: Study Guide 1In the first part of this course, we have covered the topics in this document. Please refer to the class slides for more details.1Finding the center of things: Bounding boxes, centroids, trimmed means, and medians(x1, y1),
Cornell - CS - 100
PolygonsandtheconvexhullProf.NoahSnavely CS1114 http:/cs1114.cs.cornell.eduAdministrivium Assignment3duethisFridayby5pm PleasesignupforslotsonCMS Thelastproblemhasyoucontrollingtherobots withthecamera;youllneedtousethe robotGetFrame function
Cornell - CS - 100
Polygons and the convex hullProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviumAssignment 3 due this Friday by 5pm Please sign up for slots on CMS The last problem has you controlling the robots with the camera; you'll need to
Cornell - CS - 100
InterpolationProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Assignment 3 due tomorrow by 5pm Please sign up for a demo slot Assignment 4 will be posted tomorrow Quiz 3 next Thursday2Last time Convex hull the smalles
Cornell - CS - 100
InterpolationProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaAssignment 3 due tomorrow by 5pm Please sign up for a demo slotAssignment 4 will be posted tomorrow Quiz 3 next Thursday2Last timeConvex hull the smallest co
Cornell - CS - 100
Image transformationsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Assignment 4 will be out by tomorrow Due the Friday after spring break Quiz 3 next time Topics: convex hull, interpolation, image transformations2L
Cornell - CS - 100
Image transformationsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaAssignment 4 will be out by tomorrow Due the Friday after spring breakQuiz 3 next time Topics: convex hull, interpolation, image transformations2Last
Cornell - CS - 100
Imagetransformations,Part2Prof.NoahSnavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Assignment4hasbeenposted DuetheFridayafterspringbreak TAevaluations http:/www.engineering.cornell.edu/TAEval/survey.cfm Midtermcourseevaluations2
Cornell - CS - 100
Image transformations, Part 2Prof. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaAssignment 4 has been posted Due the Friday after spring breakTA evaluations http:/www.engineering.cornell.edu/TAEval/survey.cfmMidterm course e
Cornell - CS - 100
Recognizing objectsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Assignment 4 due on Friday The first problem is tricky please get started early! Quiz 4 next Tuesday, 3/31 Prelim 2 in two weeks, 4/7 (in class) Covers e
Cornell - CS - 100
Recognizing objectsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaAssignment 4 due on Friday The first problem is tricky please get started early!Quiz 4 next Tuesday, 3/31 Prelim 2 in two weeks, 4/7 (in class) Covers ever
Cornell - CS - 100
Featurebased object recognitionProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Assignment 4 due tomorrow, A5 will be out tomorrow, due in two parts Quiz 4 next Tuesday, 3/31 Prelim 2 in two weeks, 4/7 (in class) Covers eve
Cornell - CS - 100
AdministriviaFeature-based object recognitionAssignment 4 due tomorrow, A5 will be out tomorrow, due in two parts Quiz 4 next Tuesday, 3/31Prof. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduPrelim 2 in two weeks, 4/7 (in class) Covers everyth
Cornell - CS - 100
Computing transformationsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia A5 Part 1 due on Friday, A5 Part 2 out soon Prelim 2 next week, 4/7 (in class) Covers everything since Prelim 1 Review session next Monday (time TBA)
Cornell - CS - 100
Computing transformationsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaA5 Part 1 due on Friday, A5 Part 2 out soon Prelim 2 next week, 4/7 (in class) Covers everything since Prelim 1 Review session next Monday (time TBA)2
Cornell - CS - 100
Optimization and least squaresProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia A5 Part 1 due tomorrow by 5pm (please sign up for a demo slot) Part 2 will be due in two weeks (4/17) Prelim 2 on Tuesday 4/7 (in class) Covers
Cornell - CS - 100
Optimization and least squaresProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaA5 Part 1 due tomorrow by 5pm (please sign up for a demo slot) Part 2 will be due in two weeks (4/17) Prelim 2 on Tuesday 4/7 (in class) Covers ever
Cornell - CS - 100
CS1114: Study Guide 2This document covers the topics we've covered in the second part of the course. Please refer to the class slides for more details.1Polygons and convex hullsA polygon is a set of 2D points (called vertices, as in a graph) c
Cornell - CS - 100
Markov chainsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduRoadmap for the next month Guest lecture 4/16, Prof. Charles Van Loan Ellipse fitting (this is a much better way to find lightstick shapes) Exams: Assignments: Prelim 3: 4
Cornell - CS - 100
Markov chainsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduRoadmap for the next monthGuest lecture 4/16, Prof. Charles Van Loan Ellipse fitting (this is a much better way to find lightstick shapes)Exams: Prelim 3: 4/30 (Final lecture)
Cornell - CS - 100
Markov chains Part 2Prof. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Guest lecture on Thursday, Prof. Charles Van Loan Assignments: A5P2 due on Friday by 5pm A6 will be out on Friday Quiz next Thursday, 4/232Administ
Cornell - CS - 100
Markov chains Part 2Prof. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaGuest lecture on Thursday, Prof. Charles Van Loan Assignments: A5P2 due on Friday by 5pm A6 will be out on FridayQuiz next Thursday, 4/232Administrivia
Cornell - CS - 100
Author recognitionProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Quiz 5 this Thursday, 4/23 Focus on Markov chains A6 released, due on Friday There will be demo sessions You will also turn in your code this time Preli
Cornell - CS - 100
Author recognitionProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaQuiz 5 this Thursday, 4/23 Focus on Markov chainsA6 released, due on Friday There will be demo sessions You will also turn in your code this timePrelim 3
Cornell - CS - 100
Clustering and greedy algorithmsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia A6 due tomorrow Please sign up for demo sessions You will also turn in your code this time (turnin due Monday) Prelim 3 next Thursday, 4/30
Cornell - CS - 100
Clustering and greedy algorithmsProf. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaA6 due tomorrow Please sign up for demo sessions You will also turn in your code this time (turnin due Monday)Prelim 3 next Thursday, 4/30 (las
Cornell - CS - 100
Clustering and greedy algorithms - Part 2Prof. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministrivia Prelim 3 on Thursday Will be comprehensive, but focused on Markov chains and clustering Review session Wednesday at 7pm, Upson 31
Cornell - CS - 100
Clustering and greedy algorithms - Part 2Prof. Noah Snavely CS1114 http:/cs1114.cs.cornell.eduAdministriviaPrelim 3 on Thursday Will be comprehensive, but focused on Markov chains and clustering Review session Wednesday at 7pm, Upson 315 Ste
Cornell - CS - 100
CS1114: Study Guide 3This document covers the topics we've covered in the final part of the course. Please refer to the class slides for more details.1Markov chainsSequences of things come up all the time when dealing with the real world. The
Cornell - CS - 100
CS1114 Section 2/4 Exercises: Robot arena, recursion, and while loops1Robot arena1. We've set up a virtual robot arena to test your code when all of the physical robots are in use. The first exercise is to start the robot arena, create a robot,
Cornell - CS - 100
CS1114: Assignment 2Assigned: Feb. 6, 2009 First Part Due: Feb. 13, 2007 by 5PM Second Part Due: Feb. 20, 2007 by 5PM1IntroductionIn the first assignment, you had the opportunity to work with a basic image operation (thresholding). Recall that
Cornell - CS - 100
CS1114 Assignment 31 Previously, on Assignment 2out: Feb 20, 2009 due: March 6, 2009 by 5pmIn the last assignment we implemented several robust ways of finding the lightstick center. In this assignment, we will do even better, by using graph tra
Cornell - CS - 100
CS1114 Assignment 41out: March 11th, 2009 due: 5:00PM March 27th, 2009Previously, on Assignment 3..you wrote functions to drive the robot based on the position of the lightstick in the webcam image. Now, wed also like the robot to respond to t
Cornell - CS - 100
CS1114 Assignment 5, Part 1out: Friday, March 27, 2009. due: Friday, April 3, 2009, 5PM.This assignment covers three topics in two parts: interpolation and image transformations (Part 1), and feature-based image recognition (Part 2). This documen
Cornell - CS - 100
CS1114 Assignment 5, Part 2out: Monday, April 6, 2009. due: Friday, April 17, 2009, 5PM.This assignment covers three topics in two parts: interpolation and image transformations (Part 1), and feature-based image recognition (Part 2). This documen
Cornell - CS - 100
CS1114 Assignment 6out: Saturday, April 18, 2009. due: Friday, April 25, 2009, 5PM.In this assignment, you will be implementing an authorship detector which, when given a large sample size of text to train on, can then guess the author of an unkn
Uni. Westminster - RRG - 1024
Prime Realty Author: Date: Purpose: Carol Malloy 6/1/2009 To calculate loan information assuming a constant yearly rateMortgage Analysis WorksheetSummary Information Loan $250,000 Rate 5.00% Years 30 Per Year 12 Total Payments 360 Monthly Payment
Uni. Westminster - RRG - 1024
Current Year Info Sales (in dollars) Variable Cost Fixed Costs Sales (Volume/Unit) Sales Price (each) Variable Cost (each) Forecast Estimates Sales Volume Increase Sales Price Increase Variable Cost Increase Fixed Cost Increase2008 Predicted Info 2
Uni. Westminster - RRG - 1024
Raquel Gilson TechBlog 3 February 6, 2007One thing I am embarrassed to admit is that I am not completely aware of the differences between the World Wide Web and the Internet. Before I come to class again on Thursday February 8th I intend to do more
Uni. Westminster - RRG - 1024
Raquel Gilson TechBlog Notes PageTechBlog 1 Jan. 25, 2007 Ebusiness System of gathering information. TechBlog 2 Jan. 30, 2007 Business Intelligence Systems Systems that disseminate information. MIS - One of the oldest intelligence systems out to
Carnegie Mellon - ANDREW - 213
15-213 Recitation 12Eugene Marinelli Section E 4/16/07Outline Announcements Malloc Course materialAnnouncements No quiz malloc due tomorrowLast day to turn in ThursdayProxy lab out sometime this week (I'm in charge of this one)
Iowa State - CPRE - 211
Assigned: 2/6/04Due: 2/17/04CprE 211 Spring 2004 Homework 2Last Name First Name Section_ __Grading Procedure for Homework: The number of points of each question is given in brackets. You shall turn in your homework in the class when it is
Iowa State - CPRE - 211
Assigned: 2/6/04Due: 2/17/04CprE 211 Spring 2004 Homework 2 SolutionLast Name First Name Section_ __Grading Procedure for Homework: The number of points of each question is given in brackets. You shall turn in your homework in the class wh
Iowa State - CPRE - 211
Assigned: 3/9/04Due: 3/25/04CprE 211 Spring 2004 Homework 4 SolutionLast Name First Name Section _ _ _Grading Procedure for Homework: The number of points of each question is given in brackets. You shall turn in your homework in the class whe
Iowa State - CPRE - 211
Assigned: 4/20/03Completed by: 4/27/03CprE 211 Spring 2004 Homework 6Last Name First Name Section_ __Grading Procedure for Homework: This homework will not be collected and not be graded. The solution will be distributed on-line one week l
University of the West Indies at Mona - GREEN - 4531
San Diego State - DESIGN - 240
Washington - FACULTY - 122
Physics 122 Solutions Ch 2727.1. Visualize:As discussed in Section 27.1, the symmetry of the electric field must match the symmetry of the charge distribution. In particular, the electric field of a cylindrically symmetric charge distribution cann
Washington - FACULTY - 122
Physics 122 Solutions to Chapter 2525.1.Model:Use the charge model.Solve:(a) In the process of charging by rubbing, electrons are removed from one material and transferred to the other because they are relatively free to move. Protons, on the other
Washington - FACULTY - 122
Physics 122 Solutions Ch 2626.31. Model: The electric field is that of three point charges q1, q2 and q3.Visualize: Please refer to Figure P26.31. Assume the charges are in the x-y plane. The 5 nC charge is q1, the 10 nC charge is q3, and the -
Washington - FACULTY - 122
30.1. Solve: The potential difference V between two points in space isV = V ( xf ) - V ( xi ) = - Ex dxxi xfwhere x is the position along a line from point i to point f. When the electric field is uniform, V = - Ex dx = - Ex x = - ( 1000 V/m )
Washington - FACULTY - 122
31.1. Solve: From Table 30.1, the resistivity of carbon is = 3.5 10-5 m. From Equation 31.3, the resistanceof lead from a mechanical pencil is R= 3.5 10 -5 m ( 0.06 m ) L L = 2 = = 5.5 2 A r 0.35 10 -3 m(())31.6. Solve: The slope o
Washington - FACULTY - 122
32.7. Model: The magnetic field is that of a moving charged particle.Visualize: Please refer to Figure Ex32.7. Solve: Using the Biot-Savart law, B= 10 -7 T m/A 1.60 10 -19 C 2.0 107 m/s sin135 0 qv sin = = 1.13 10 -15 T 2 2 -2 -2 4 r 2 1.0 10 m
Washington - FACULTY - 122
33.1. Model: Assume the magnetic field is uniform.Visualize: Please refer to Figure Ex33.1. Since a motional emf was developed the field must be perpendicular to v . The positive charges experienced a magnetic force to the left. By the right-hand r
Washington - FACULTY - 122
34.21. Model: The electric and magnetic field amplitudes of an electromagnetic wave are related.Solve: Using Equation 34.40, E0 = cB0 = 3.0 108 m/s 2.0 10 -3 T = 6.0 10 5 V/m()()34.23. Model: Electromagnetic waves are sinusoidal.Solve:
Washington - FACULTY - 122
35.6.Model:Current and voltage phasors are vectors that rotate counterclockwise around the origin at angularfrequency . Visualize:Please refer to Figure 35.6. Solve:(a) From the figure we note that VR = 10 V and IR = 0.50 A. Using Ohm's law, R= (b)