Question: 6.1 a EEL3002L Lab #6 ECE Tools Lab 6.5 In-lab Experiments This experiment consists of a series of MATLAB exercises. All the data created and
EEL3002L Lab #6 ECE Tools Lab 6.5 In-lab Experiments This experiment consists of a series of MATLAB exercises. All the data created and resulted from all the experiment exercises should be saved in your USB flash drive. By doing so you can extract the data needed to write the lab report following the in-lab session. Experiment 6.1 Consider the cubic equation of the form: ax3 + he2 cr+d-0, where a, b, e, d are real constants The formulas for the three cubic roots are given below: 3a 1/3 (a) Write a MATLAB function having the real coefficients a, b, c, d as input arguments to determine the roots of the cubic equation. Specifically, display the three roots n.q,in the Command window using the following format First root= second root Third root= (b) Utilize the function created in part (a) to find the roots of the cubic equations specified by the lab TA. Tabulate the results. Experiment 6.2 Let Rn denote the equivalent resistance of n resistors connected in parallel, each having resistance R for n = 1, 2, 3, .. , etc. It can be shown that Rn may be computed using the following recursive relation: Rn+1 =R-R-, Re +R where n=1.23 with R1-R (a) Given R-10k, write a MATLAB program to plot Rn versus n for n 1, 2, 3,.100 (b) For a given R and a positive integer m, write a MATLAB function that utilizes the while loop to compute n such that Rn-10-mR. Spring 2018 6-5 B.W. Kwan EEL3002L Lab #6 ECE Tools Lab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
