Name: Degree: Select Only One Question Question (I) The Following Circuit Shows A Simple RLC Circuit. Design A
The document describes two MATLAB programming questions for a lab exam. Question I asks students to design a program to illustrate resonance phenomena in an RLC circuit by plotting current vs. frequency on linear and semi-logarithmic scales. Question II asks students to design a program to plot load power vs. current and load power vs. current squared for a simple DC circuit, using given resistor and voltage values as inputs. Sample outputs including plots and tables of values are provided for the second question.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
36 views
Name: Degree: Select Only One Question Question (I) The Following Circuit Shows A Simple RLC Circuit. Design A
The document describes two MATLAB programming questions for a lab exam. Question I asks students to design a program to illustrate resonance phenomena in an RLC circuit by plotting current vs. frequency on linear and semi-logarithmic scales. Question II asks students to design a program to plot load power vs. current and load power vs. current squared for a simple DC circuit, using given resistor and voltage values as inputs. Sample outputs including plots and tables of values are provided for the second question.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
Minia University Faculty of Engineering
Computers and Systems Eng., Dept. Lab(1), First Year
June,2014 Max. Degree: 30 Time Allowed: 1 Hr.
Name: Degree:
Select only one question
Question (I) The following circuit shows a simple RLC circuit. Design a MATLAB program to illustrate the resonance phenomena. The inputs are the values of R, L, and C. The output is the resonance frequency f o and two figures. The first one shows the variation of the current versus frequency in a linear scale, and the second one shows the variation of the current versus frequency in a semi logarithmic scale.
R L C Vsin(wt)
Question (II) The following circuit shows a simple dc circuit that is used to show the maximum power theorem. Design a MATLAB program to plot two figures. The first one shows the variation load power with the variation of the current I and the second one plot the variation of power with I 2 . The inputs are the values of R, and V.
Vs R s Load R l
function [I,I2,PL] = pcurve(RS,VS) % This function computes the power curve % It also plots power vs. I and I^2 RL=2*RS:-0.1:RS/10; I = VS./(RS+RL); I2 = I.^2 ; PL = I2.*RL ; subplot(2,1,1) plot(I,PL) grid title('Power vs Current') xlabel('I , mA') ylabel('Power, mW') subplot(2,1,2) plot(I2,PL) grid title('Power vs Square of Current') xlabel(' Square of I ') ylabel('Power, mW')