Question: -Prepare a function that will determine the total resistance of a number of resistors that are connected in parallel.
This function should accept a row vector for input, calculate the total resistance and return the total resistance. The total resistance may be calculated from the formula
1/Rtot = 1/R1 + 1/R2 + 1/R3 + 1/R4 ............. 1/Rn
where Rtot is the total resistance and n is the number of resistors connected in parallel.
Can you find the total resistance and return the total resistance and the total resistance may be calculated from the formula