60 likes | 187 Vues
In this introduction to Labs 8 and 9, we explore resistor configurations and their equivalent resistances. We will address three key problems: verifying error proofing for every input, modifying code to enable repetition, and calculating equivalent resistances for resistors in series and parallel. Additionally, you will learn how to determine the value of resistors using their color codes (in Ohms) with reference to NCERT resources. Your tasks include prompting the input for each resistance value and calculating the total equivalent resistance for both configurations.
E N D
DUE NOW • Lab 8
Lab9 – brief intro • Problem1 – error proof every input • Problem2 – make the code repeat • Problem3 – Resistors in series/parallel
Resistors • The colors give their value (in Ohms)
Resistors in parallel www.ncert.nic.in
Resistor in series www.ncert.nic.in
Your task.. • Prompt for the value of each resistance • Give the R_equivalent for both parallel and series