then when a real-time temperature data is sent from the server we can get its corresponding electricity consumption by locating the real-time temperature in the array. The index-based method can be extended to support multiple parameters and can be applied for wider scenarios. Since the results...