Ask your own question, for FREE!
Mathematics 7 Online
OpenStudy (raffle_snaffle):

matlab

OpenStudy (raffle_snaffle):

OpenStudy (raffle_snaffle):

Your PR matrix now holds values of power (in watts) delivered to the resistor for every combination of inductor (L) and capacitor (C) values. Declare a new scalar variable max PR to store the largest value of power inside the PR matrix. Use your results to report which specific value for L and value for C resulted in max PR. Store these two results in the variables max L and max C, respectively. The find function should be instrumental here. More specifically, see its usage near the top of p. 178 in your textbook.

OpenStudy (raffle_snaffle):

I was told by phi I need to use double indexing for this part.

OpenStudy (raffle_snaffle):

The double indexing is confusing me.

jimthompson5910 (jim_thompson5910):

hmm still thinking

jimthompson5910 (jim_thompson5910):

sorry I'm getting lost in all the circuit analysis. I'm not exactly sure what they're even asking for

OpenStudy (raffle_snaffle):

let me explain to you

OpenStudy (raffle_snaffle):

hold on for a sec

OpenStudy (raffle_snaffle):

% defining input variables for RLC circuit f_volt = 60; % measured in hertz W_volt = 120; % measured in volts rms R = 100; % measured in ohms L_o = 0.005:0.005:0.245; % matrix L 2D matrix incr. from left to right C_o = 5e-6:10e-10:9.5e-5; % matrix C 2D matrix incr. from top to bottom [L_o, C_o] = meshgrid(L_o, C_o); % current output for RLC circuit (I) in RLC circuit (note: j = sqrt(-1)) I = (120)./(100 + j*2*pi*60*L_o - ((j)./(2*pi*60*C_o))); % power obsorbed by resistor P_R = 100*abs(I.^2);

OpenStudy (raffle_snaffle):

so here we have my variables (inputs) and my two vectors L is the inductor and C is the capacitor. We then perform a meshgrid. The current equation I gives me the current in the RLC circt. P_R is the power that the resistor absorbs.

OpenStudy (raffle_snaffle):

|dw:1461197232451:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!