{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw030

# hw030 - CS 159 HW#03 5 Points Possible Due at 11:00pm...

This preview shows pages 1–2. Sign up to view the full content.

CS 159 – HW #03 5 Points Possible Due: February 22, 2010 at 11:00pm. Problem: Given as input the voltage and four resistors in series, compute the current in the circuit and the voltage drop across each resistor. Source for some of the material below: http://en.wikipedia.org/wiki/Resistor The behavior of an ideal resistor is dictated by the relationship specified in Ohm's law: V = IR Ohm's law states that the voltage (V) across a resistor is proportional to the current (I) through it where the constant of proportionality is the resistance (R). The current through resistors in series stays the same, but the voltage across each resistor can be different. The sum of the potential differences (voltage) is equal to the total voltage. The equivalent resistance of resistors connected in series is: Example Execution #1: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Enter the voltage: 6 Enter resistance #1: 2 Enter resistance #2: 4 Enter resistance #3: 5 Enter resistance #4: 7 Current in the circuit: 0.333 Voltage drop across resistor r1: 0.667 Voltage drop across resistor r2: 1.333 Voltage drop across resistor r3: 1.667 Voltage drop across resistor r4: 2.333 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Above is related to example execution #1.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern