Question: Charge on a Capacitor, When a resistor (R), capacitor (C), and battery with voltage V are Connected in series, a charge Q builds up on
Charge on a Capacitor, When a resistor (R), capacitor (C), and battery with voltage V are Connected in series, a charge Q builds up on the capacitor. The charge after t seconds is Given by the function Q(t) = CV(1 - e^(- t/RC)) If there is no charge on the capacitor at time t = 0. You want to find out when the charge On the capacitor reaches 9 units of charge. Write a MATLAB script called capacitorCharge LastF that prompts the user for resistance, capacitance, and voltage values, and then displays the time and charge every 0.1 seconds until the charge reaches 9 units. The last charge displayed should be less than 9 units
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
