Question: This is all dealing with matlab. 1) Consider the following data regarding the resistance of various metals: Resistance of a metal = resistivity * length

 This is all dealing with matlab. 1) Consider the following data
regarding the resistance of various metals: Resistance of a metal = resistivity
This is all dealing with matlab.

1) Consider the following data regarding the resistance of various metals: Resistance of a metal = resistivity * length of wire / area of wire Resistivity of silicon 2.3* 10A-3 Resistivity of copper 1.7 10-8 Length 1, 85 Diameter (in mm) - 5,2 Part 1 (Algorithms)-due Friday: Think about how you might solve the problem of calculating the resistance of a given group of metals depending on the type of metal, the length of the wire and the area of the wire (if given the diameter only-so you must calculate the area). Write instructions (an algorithm) for a function that behaves as described above (given the following arrays of information, calculates the resistance of each metal in the arrays). If given the correct information, the algorithm should be able to calculate the resistance of ANY metal that you have provided information for in the arrays. The algorithm for your function should describe a function that accepts three input arguments/parameters (one for each of the arrays). It should save the result (the resistance of each metal) into another array, and return that as an output argument. Consider that you will be provided arrays that contain the information for each of the relevant properties similar to the information below. The arrays will always have exactly four items in them. The first element in each array contains the information for the first metal. Likewise, the second element in each array contain the information for that metal, and so on. The three arrays might look like so. I've labeled each array element so that you can manually do the calculations for those metals to verify that your algorithm is correct

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!