Question

Figure 3. Variable RC circuit A variable time constant circuit is shown above. The potentiometer (R2) can change its resistan

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a)

%matlab function

function Vc = RC_Circ(R,C,V0, VInf,t)
T=R*C;
Vc=(VInf)+(V0-VInf).*exp(-t./T);
end

-----------------------

%matlab script

R1=70;
R2=350;
R=R1+R2;
C=3.5e-11;
V0=0;
VInf=5;
t=0:1e-9:1e-7;
Vc=RC_Circ(R,C,V0,VInf,t);
plot(t,Vc);xlabel('t');
ylabel('V_c(t)');

--------------------------

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0. 9 1 x 10-7

-----------------

b)

%matlab

R1=70;
R2=350;
R=R1+R2;
C=3.5e-11;
V0=5;
VInf=0;
T=1e-7;
t1=0:1e-9:(0.5*T-1e-9);
t2=(0.5*T):1e-9:(T-1e-9);
Vc1=RC_Circ(R,C,V0,VInf,t1);
Vc1(end)
Vc2=RC_Circ(R,C,Vc1(end),V0,(t2-0.5*T));
t=[t1 t2];
Vc=[Vc1 Vc2];
plot(t,Vc);
xlabel('t');
ylabel('V_c(t)');

----------------------------

N 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0. 9 1 x 10-7

Add a comment
Know the answer?
Add Answer to:
Figure 3. Variable RC circuit A variable time constant circuit is shown above. The potentiometer (R2)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Need help with matlab code. If writing code out please make it where i can understand...

    Need help with matlab code. If writing code out please make it where i can understand and read it. I would prefer to see it in matlab form. Thanks Consider the RC Circuit shown below. Assume the excitation is a 10 kHz sine wave with amplitude of 1 volt. Derive expressions for the voltages across the resistor and the capacitor as time functions. Plot the voltages across the resistor and the capacitor over two periods using MATLAB and a reasonable...

  • R 1 V1 In the above circuit, V1- 15 volts, V2 6 volts, R1 8 ohms...

    R 1 V1 In the above circuit, V1- 15 volts, V2 6 volts, R1 8 ohms and R2 4 ohms. What is the voltage drop across resistor R2? D Question 4 5 pts 4 8 In the above circuit, V1 is 19 volts and R1 is 6 ohms. What is the power (in watts) dissipated in the R1 resistor?

  • I need help with Matlab code. Thank you Consider the RC Circuit shown below. Assume the...

    I need help with Matlab code. Thank you Consider the RC Circuit shown below. Assume the excitation is a 10 kHz sine wave with amplitude of 1 volt. Derive expressions for the voltages across the resistor and the capacitor as time functions. Plot the voltages across the resistor and the capacitor over two periods using MATLAB and a reasonable time interval (eg, = T 20) Capture the plot and paste it as Figure 1 in the report form

  • R1 R2 R 3 2 in the above circuit, V1 - 17 volts and v2 -...

    R1 R2 R 3 2 in the above circuit, V1 - 17 volts and v2 - 7 volts. If each of the 3 resistors was 1000 ohms, what is the current (in amps) through resistor R1?

  • 1. Consider this circuit with resistors and capacitors. The R2 battery V1 has a voltage of...

    1. Consider this circuit with resistors and capacitors. The R2 battery V1 has a voltage of 9 V, the resistors R1 and R2 have values of 100 Ω and 50 Ω, and the capacitor C1 has a value of 100 nF. Initially, the switches S1 and S2 are open. S2 (10 points) Once we close S1, what will the voltage across Rl and Cl be? How much current initially flows around the closed loop? (10 points) The current in part...

  • In the RC circuit shown, the capacitor is initially charged to 10 volts, and the switch...

    In the RC circuit shown, the capacitor is initially charged to 10 volts, and the switch closes at time t=0. At what time will the capacitor voltage equal 5V? R=100ks + V1 1 C=0.1MF capacitor initially charged to 10 volts

  • Construct a RC circuit (series) with a capacitor, a resistor, a battery,

    Part A Charging of RC Circuit 1) Construct a RC circuit (series) with a capacitor, a resistor, a battery, two switches, and appropriate meters that will enable you to make measurements of the parameters for charging up the capacitor. The placement of the switches allows you to measure both charging and discharging of the RC circuit. See diagram below: 2) Choose a combination of Rand C that will give you a time constant(T) of 20 seconds. T=R*C 20= 100* C=0.2F 3) Set the...

  • (1) Consider the RC circuit shown in Figure 1. For t<0 the switch is open, and...

    (1) Consider the RC circuit shown in Figure 1. For t<0 the switch is open, and the charge stored on the capacitor is 0. At t-0 the switch is closed, and the voltage source begins charging the capacitor. Let R1-R2-220 Ω , C-0.47 μ F , Vs-5 V. (a) Write the differential equation as an expression for the capacitor voltage fort> 0 (i.e. write the differential equation) and calculate the time constant (b) Calculate the steady-state capacitor voltage R2 R1...

  • The circuit shown in the figure below contains three resistors (R1, R2, and R3) and three...

    The circuit shown in the figure below contains three resistors (R1, R2, and R3) and three batteries (VA, VB, and VC). The resistor values are: R1=2 Ohms, R2=R3=6 Ohms, and the battery voltages are VA=25 V, VB=15 V, and VC=20 V. When the circuit is connected, what will be the power dissipated by R2? VC R1 + VA VE R2 R3

  • The circuit shown in the figure below contains three resistors (R1, R2, and R3) and three...

    The circuit shown in the figure below contains three resistors (R1, R2, and R3) and three batteries (VA, VB, and VC). The resistor values are: R1=2 Ohms, R2=R3=4 Ohms, and the battery voltages are VA=25 V, VB=15 V, and VC=20 V. When the circuit is connected, what will be the power dissipated by R1?

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT