4. Create a triple-nested loop in MATLAB that will vary

Question
4. Create a triple-nested loop in MATLAB that will vary each of the three resistors in the range +/- 1% and compute every possible combination of the resistors. From these data, find the worst- case scenario (specifically, which resistance values yield the min and max values of RT and which set of resistor values produces the RT furthest away from the nominal value). Perform this check for 100 values of each resistor (Each loop will execute 100 times). This will result in 100³ sets of resistors that should be evaluated. 5. Research and find on the internet the precision of the used HH DMM (Grey: HP E2373A, Flat: Mastech MS8216 DMM and Green: Mastech 8217) and HP Impedance Analyzer (HP 4192A), when measuring resistances and voltages. 6. Write a MATLAB script to extract the mean and standard deviation from each column in the xlsxs spreadsheet. 7. Plot six histograms of the measured resistor values (different histograms for 1%, 5%, HP, DMM, and 202). 8. Draw conclusions about different factors that contribute to fluctuations in the measured resistor values. Estimate to the best of your ability the standard deviations in the resistance of the 1% and the 5% resistors. Estimate the mean value of these resistances. 9. The manufacturer "guarantees" that the resistors will be within the given accuracy (1% or 5% in these cases). How many σ's are these reported accuracies? Elaborate on why people are needed to perform data analysis instead of simply cranking the experimental data into a machine./nPART II-CIRCUITS REVIEW, SIMULATIONS, AND FLUCTUATIONS (YOUR ASSIGNMENT) 1. Calculate Thevenin Voltage VT and Thevenin resistance RT for the given circuit, to the left of the two red dots. 2. Write a MATLAB script to read the values in the xlsx spreadsheet (you should use the MATLAB function xlsread) and compute the maximum and minimum values of all measured 10 k2 resistors. Note: for a one-dimensional array A, you can get rid of all NaNs by using the MATLAB command A(isnan(A))=[]; 3. Divide this segment [Rmin, Rmax] into 200 values and write MATLAB script that computes and plots RT as a function of the value of 10 k2 resistor. Make sure to label your axes. You should have 201 values in your plot. What values of 10 k2 resistor in this range result in min and max value of RTH? Note: To answer this question, assume that the 10 k2 resistor is the only one that changes value and keep the rest of the resistors at their nominal values. RTH (ΚΩ) R10kohm (kQ)
Question image 1Question image 2