Slide design: Dr. Mark L. Hornick

Slides:



Advertisements
Similar presentations
Circuits Computer Lab Today.
Advertisements

Series and Parallel Circuits
Circuits Chapter 35. LAB 21 What will happen to bulbs 1 and 2 when you disconnect the wires at various points? Consensus: Current requires a closed loop.
Circuits Series and Parallel. Series Circuits Example: A 6.00 Ω resistor and a 3.00 Ω resistor are connected in series with a 12.0 V battery. Determine.
Before we get started, let’s review: Describe a Series Circuit.
Ohm’s Law V = IR.
1 © Unitec New Zealand APTE 5601+DE4401 Topic 2 DC C IRCUITS.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
SE1011 Week 2, Class 3 Today Compiling and running Another example using Scanner Compile-time and Run-time errors Review for exam SE-1011 Slide design:
SE3910 Week 1, Class 3 Today – Introductions Safety Review Policy The course Tomorrow Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class.
Week 2, Day 2: The Factory Method Pattern Other good design principles Cohesion vs. Coupling Implementing the Strategy Pattern Changing strategies (behaviors)
Bellwork (2/26) What do voltage sources do in a circuit? They do work on charges that is transferred into electric potential energy. Aside: High voltages.
Week 6, Class 1 & 2: Decorators Return Exam Questions about lab due tomorrow in class? Threads Locking on null object invokeLater & the squares example.
CS2910 Week 1, Class 2 Today Announce Prof. Michael Vieau’s S-341 6p Thurs Wk 2 Assignment for tomorrow Data Encoding, Part 1 Parsing Data Muddiest Point.
SE3910 Week 1, Class 2 Today – Introductions Safety Review Policy The course Tomorrow Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class.
CS2852 Week 3, Class 2 Today Stacks Queues SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
A C B 1.Draw this circuit diagram neatly in your book 2.Label the direction of current flow around the circuit. 4. Build the circuit and measure the current.
CS2852 Week 6, Class 1 Today The run-time stack Writing and proving recursive methods SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 5, Class 2 Today Queue Applications Circular Queue Implementation Testing SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 7, Class 1 Today Binary Search Tree Implementing add Implementing find Return Quiz 4 (second attempt) Both sections are graded SE-2811 Slide.
CS2852 Week 6, Class 2 Today Class exercise: Implementing a recursive method Binary Search Trees Tomorrow: Quiz at start of lab Implementing a recursive.
Week 5, Day 2: Decorator Decorators Muddiest Point Tomorrow: Quiz on lab reading: web.msoe.edu/hasker/se2811/labs/5/ SE-2811 Slide design:
Today Quiz not yet graded Final report requirements posted More on Multithreading Happens-Before in Java SE-2811 Slide design: Dr. Mark L. Hornick Content:
CS2852 Week 3, Class 2 Today Big-O runtime analysis Linked Lists Muddiest Point Lab Quiz Includes writing a method from ArrayList class (See next slide)
CE1901 Week 6, Class 3 Week 6 Mini-Exam Review Muddiest Point Timing Diagrams (See this slide and Outcomes on course webpage – link now available)Outcomes.
Week 7, Class 1: The Command Pattern (cont.) Get Ready for Poll Everywhere Labs 2 & 3 returned Lab 7 due this evening at 11pm Quiz tomorrow at start of.
Series and parallel resistances pg. 51. Objectives Calculate the equivalent resistance for resistors connected in both series and parallel combinations.
Week 10, Day 3 Review for the quarter SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
CS2910 Week 7, Class 1 Today Capturing SMTP with Thunderbird Tomorrow Extra office hour at 11 am (right after lab) Friday Office hour cancelled SE-2811.
Week 6, Class 3: Composite Swing composites File composites Computer composites SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
Week 5, Class 3: Decorators Lab questions? Example: Starbuzz coffee Basic Pattern More examples Design Principles Compare with alternatives SE-2811 Slide.
CS2910 Week 6, Lab Today Dictionaries in Python SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
SE2811 Week 8 – Class 2 Re: Lab due tonight SE-2811 Slide design: Dr. Mark L. Hornick Much Content: Dr. Hornick Most Errors: Dr. Yoder 1.
SE3910 Week 1, Class 1 Today – Introductions The students (informally) The instructor Safety Review Policy The course Tomorrow (If you are in that section)
CS-2852 Data Structures Week 5, Class 3 – Testing and Recursion Queue Implementing finite queues Binary Search Recursion Tomorrow – Quiz, Lab demos, Lab.
Unit 11 - Electric Circuits Physics Book Chapters 19 and 20 Conceptual Physics Book Chapters 33, 34, 35.
Determining Equivalent Resistance
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide style: Dr. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Week 2, Day 1: The Factory Method Pattern
October 18, 2017 Parallel Circuit.
Polling vs. Interrupts CS2852 7/20/2018
Polling vs. Interrupts CS2852 9/18/2018
Electrical Circuits & Ohm’s Law
Week 7, Class 1: The Command Pattern (cont.)
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Ohm’s Law This formula shows the relationship between current, voltage and resistance. Voltage (Volts) Current (Amps) Resistance (Ohms, )
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 4/21/2019
Slide design: Dr. Mark L. Hornick
Week 8, Class 3: Model-View-Controller
Slide design: Dr. Mark L. Hornick
11. MVC SE2811 Software Component Design
Slide design: Dr. Mark L. Hornick
Week 8, Class 3: Model-View-Controller
Slide design: Dr. Mark L. Hornick
11. MVC SE2811 Software Component Design
Slide design: Dr. Mark L. Hornick
Bell Work: Series vs. Parallel
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
SE-1021 Software Engineering II
Series and Parallel Circuits
Chapters 18 & 19 What is the definition of electric potential?
Presentation transcript:

Slide design: Dr. Mark L. Hornick SE3910 9/9/2019 SE3910 Week 1, Class 2 Today – Introductions Safety Review Policy The course Tomorrow (If you are in that section) Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class 1-2, here (S210) Full agenda: Return Exam Questions about lab due tomorrow in class? Threads: Locking on null object Threads: invokeLater Threads: The squares example Decorator Class Diagram More on Java IO Class diagrams Design Principles in the patterns we’ve seen so far Compare with alternatives Decorator vs. array approach suggested in class Non-decorator array – decorator can be added on without modifying the original hierarchy Decorator has “before-after” and possibly other combinatorial control that would be hard-coded in array [Show “screenshot” of discussion from class? Or just re-type?] Strategy vs. Decorator class diagrams side-by-side Structural difference (inheritance optional in Strategy pattern?) Decorator vs. “Strategy” array Perhaps next: Coding Starbuzz coffee (?) Add real patterns ArrayList – null-checking Java I/O: Students do coding examples http://stackoverflow.com/questions/9358821/should-i-extend-arraylist-to-add-attributes-that-isnt-null SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder Dr. Josiah Yoder

SE3910 9/9/2019 Notes on Lab 2 The lab at …/se3910/Lab2 is still in DRAFT form until the link shows when you refresh any one of the pages. You can print the …/se3910/lab2res/SE3910Lab2Report.pdf (also DRAFT) and start with circuits 1, 2, 6, 7, and 8 if you desire. I may not use the others again. Compute the current from the source for all circuits. Label voltages and currents on circuit SE-2811 Dr.Yoder Dr. Josiah Yoder

Power Exercise: How do you compute energy in Physics? 9/9/2019 Power Exercise: How do you compute energy in Physics? What are the units for energy? Exercise: How do you compute power in Physics (excluding electricity?) Write as many examples as you can. What are the WI units for power? How do you computer power in circuits? SE-2811 Dr.Yoder Dr. Josiah Yoder

Power Substituting in V=IR, we find… SE3910 9/9/2019 Power Substituting in V=IR, we find… Exercise: Find a formula without V. Exercise: For a given resistor, if I double the voltage, how does the power change? http://www.electronics-tutorials.ws/resistor/res_7.html http://paperclip.rcs.ac.uk/index.php/Basic_Electrical_Theory SE-2811 Dr.Yoder Dr. Josiah Yoder

Power Suppose I have a 1Ω resistor with 3V across it. 9/9/2019 Power Suppose I have a 1Ω resistor with 3V across it. What is the current through the resistor? What is the power through the resistor? What do you think will happen if the resistor is a ¼ Watt resistor? (As many are) SE-2811 Dr.Yoder Dr. Josiah Yoder

Exercise: Illustrate two threads running in parallel on a sequence diagram. SE-2811 Dr.Yoder

Parallel Resistors Series Resistors Kirchoff’s Voltage Law 9/9/2019 Parallel Resistors Kirchoff’s Voltage Law Voltage is between points, regardless of path Kirchoff’s Current Law Current splits Series Resistors (Similarly) SE-2811 Dr.Yoder Dr. Josiah Yoder

Equivalent Resistance SE3910 9/9/2019 Equivalent Resistance Resistors that are wired in parallel or series behave exactly like their equivalent resistor If we know voltage, can find current If we know current, can find voltage. It can be tricky to recognize parallel and series circuits SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder Dr. Josiah Yoder

SE3910 9/9/2019 Examples At which dot is the "pressure" (voltage) highest in each circuit? If time: Which circuit draws more current? SE-2811 Dr.Yoder Dr. Josiah Yoder