Lab Test #1 v5

Lab Test #1 v5 - R = 225 Ω C = 0.6x10-6 F and L = 0.5H...

This preview shows page 1. Sign up to view the full content.

ECOR 2606 Lab Test #1 v5 (This problem adapted from problem 6.18 in the text) The impedance of a circuit containing a capacitor, an inductor, and a resister can be calculated using: 2 2 1 1 / 1 L C R Z where R = resistance ( ) C = capacitance (F) L = inductance (H) ω = frequency (rads/s) Z = impedance ( ) Part I (3 marks): Write a function m-file (impedance.m) that, given R , C , L, and ω (omega) , computes and returns Z . The formula does not allow R , L or ω to be zero. Have your function generate an error if any of these quantities is zero.. Part II (7 marks): The steps required to solve this part should be placed in a script m-file (script.m).
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: R = 225 Ω , C = 0.6x10-6 F and L = 0.5H. ** Note ** Your are expected to make use of the function you produced in part I instead of re-implementing the equation within your script file. If you find it necessary to re-implement the equation you may do so but students who do this will not earn full marks. i) Produce two plots (figures 1 and 2) of Z vs ω for ω from 1 rads/s to 1000 rads/s Produce one plot using function fplot and the other using function plot ). ii) If Z is 75 Ω , what is ω ? Precisely determine the answer (graphical solutions are NOT acceptable) and output it using function fprintf ....
View Full Document

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern