% Circuit parameters R = ; C = ; vo = ; omega = ; % Time scale parameters TO = ; Tf = ; deltaT = ; t TO: deltaT:Tf; = % Circuit voltages v_t = ; vc_t = ; % Make graph of input and output voltage vs. time figure(2) clf hold on plot(, ) plot(, ) title(" ") xlabel(" ") ylabel(" ") legend("", "") % Make graph of output voltage vs. input voltage figure(3) clf plot(, ) title(" ") xlabel(" ") ylabel(" ") 4. Consider the RC circuit with a sinusoid voltage source shown in the diagram below. The values of the resistor, capacitor, input voltage amplitude and frequency are R-20012, C-5pF", Vo-10V, and w=500 rad/s, respectively. Assume that the circuit has reached steady state. Vрейте 2 The input voltage can be described using the complex sinusoid function V(t)-Vo and the physical voltage is obtained by taking the real part of V(t). The voltage drop across the capacitor is given by a sinusoid with same the frequency was the input voltage, but a different magnitude and different phase. In complex form, the capacitor's voltage is given by Vc(t)=1+jwRC For the following questions, use the template file Assignment TemplateQ2.m as the starting point for your MATLAB code. (a) (6 marks) Use MATLAB to make a graph that shows the real part of the input voltage source ReV(t)] and the real part of the voltage drop across the capacitor Re[Ve(t)] as a function of time. Choose the time scale so that two full cycles are visible. (b) (4 marks) Use MATLAB to make a graph that shows the real part of the capacitor voltage versus the real part of the input voltage: Re[Vc(t)] vs. Re[V(t)].
% Circuit parameters R = ; C = ; vo = ; omega = ; % Time scale parameters TO = ; Tf = ; deltaT = ; t TO: deltaT:Tf; = % Circuit voltages v_t = ; vc_t = ; % Make graph of input and output voltage vs. time figure(2) clf hold on plot(, ) plot(, ) title(" ") xlabel(" ") ylabel(" ") legend("", "") % Make graph of output voltage vs. input voltage figure(3) clf plot(, ) title(" ") xlabel(" ") ylabel(" ") 4. Consider the RC circuit with a sinusoid voltage source shown in the diagram below. The values of the resistor, capacitor, input voltage amplitude and frequency are R-20012, C-5pF", Vo-10V, and w=500 rad/s, respectively. Assume that the circuit has reached steady state. Vрейте 2 The input voltage can be described using the complex sinusoid function V(t)-Vo and the physical voltage is obtained by taking the real part of V(t). The voltage drop across the capacitor is given by a sinusoid with same the frequency was the input voltage, but a different magnitude and different phase. In complex form, the capacitor's voltage is given by Vc(t)=1+jwRC For the following questions, use the template file Assignment TemplateQ2.m as the starting point for your MATLAB code. (a) (6 marks) Use MATLAB to make a graph that shows the real part of the input voltage source ReV(t)] and the real part of the voltage drop across the capacitor Re[Ve(t)] as a function of time. Choose the time scale so that two full cycles are visible. (b) (4 marks) Use MATLAB to make a graph that shows the real part of the capacitor voltage versus the real part of the input voltage: Re[Vc(t)] vs. Re[V(t)].
Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 12 images
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,