you are developing a new electronic device for which it is critical to know how much power each of its 10 components uses.you find you can not directly measure the power use of each component. instead, you can only measure how much energy the entire device uses and the duration for which each component operates. (exemplī gratia: the device consumed 5 millijoules with the microphone operating for 1 second and the screen for 0.5 seconds.) your goal is to calculate the energy consumed per second by each component on the device. you will do this by setting up and solving a linear system.you are given a python dictionary called test data containing measurements from 10 different tests. each test is stored as a python list of tuples (e.g. [('led0', 0.58), ('screen', 0.24), ('energyconsumed', 1.2), ...]). the tuple with first entry equal to 'energyconsumed' is the energy consumed by the device on that test. the other tuples indicate the length of time each component operated.you are also given a python list of the component ids called components. using these two inputs, build a linear system to solve for the rate of energy use of each component. you may use numpy.linalg.solve to solve your linear system. return power usage with entries corresponding to the same order as they show up in components (i.e. if 'screen' is the first string in components then the first entry of power usage should be the amount of energy per second that 'screen' consumes).