Answered step by step
Verified Expert Solution
Question
1 Approved Answer
An electrical circuit is shown in the figure. V is a voltage (e.g., a battery), I is the current, and R1 and R2 are two
An electrical circuit is shown in the figure. V is a voltage (e.g., a battery), I is the current, and R1 and R2 are two resistors. This configuration of resistors is said to be in parallel. The overall resistance of two parallel resistors is given by R= 1/(1/R_1 +1/R_2 ) The voltage and overall resistance are related by the equation V=IR, where V is the voltage in Volts, I is the current in Amps, and R is the resistance in Ohms. Write a script to produce 2 values: 1) Calculate the overall resistance, and 2) Calculate the current. Use values of 2 Ohms for R1, 3 Ohms for R2, and 12 Volts for the battery voltage. The overall resistance should come out to 1.2 Ohms, and the current should be 10 Amps. As above, leave the semicolons off of the lines that calculate the answers so they print to the command window
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started