In a low-pass RL filter (a filter that passes signalswith low frequencies), the ratio of themagnitudes of the voltages is given by:where ro is the frequency of the input signal.LRWrite a user-defmed MATLAB function that calculates the magnitude ratio. For the function name and arguments, use RV = LRFil t (R, L, w). Theinput arguments are R, the size of the resistor inn (ohms); L, the size of thecapacitor in H (Henry); and w, the frequency of the input signal in rad/s. Writethe function such that w can be a vector.Write a program in a script file that uses the LRF i l t function to generatea plot of RV as a function of co for 10::;; w::;; 106 rad/s. The plot has a logarithmicscale on the horizontal axis (co). When the script file is executed, itasks the user to enter the values of R and L. Label the axes of the plot.Run the script file with R = 600 Q, and L = 0.14 -

● Population Variance ○ If N is the number of values in a population with mean mu, and xi represents each individual in the population, the the population variance is found by: ○ σ 2 = sumN i=1 (xi − µ) 2 N ○ and the population standard deviation is the square root, σ = √ σ 2. ○ Most of the time we are working with a sample instead of a population. So the sample variance is found by: s 2 = Pn i=1 (xi − x¯) 2 n − 1 and the sample standard deviation is the square root, s = √ s 2. Where n is the number of observations (samples), xi is the value for the i th observation and x¯ is the sample mean. ○ By hand find mean, square each scores, 1/(#