HOTE wwwwww R₁ R₂ A PALE R₁ Pellas it beställt mi HONES At bakitka Chica de TOREK, JÁRTA AE srp Mais bon H Script> 1 Re
Posted: Mon Jun 06, 2022 2:35 pm
Script> 1 ResistorValues randi ([300, 1300], 1, 10); 2 disp('The resistor values are:') 3 disp(ResistorValues) % This is just for your knowledge as a check when testing 4 pickOne randi (3); 5 6 Series_or_Parallel = 's'; % for series 7 disp('The circuit's resistors are connected in series.") % for your knowledge when testing 8 elseif pickOne == 2 I 9 Series_or_Parallel 'P'; % for parallel 10 disp('The circuit''s resistors are connected in parallel.') % for your knowledge when testing 11 else 12 Series_or_Parallel = 'A'; % for an erroneous value 13 disp('An erroneous value was entered.') % for your knowledge when testing 14 end 15 %Enter the code to solve the problme below this line. 16 Assessment: Was the equivalent resistance correctly calculated, based on your case? Did you use the switch-case-otherwise-end structure to solve this problem? Did you use the fprintf command to output the equivalent resistance in ohms? if pickOne = 1