Question
============================================================================= # Q8 You have been asked to go through all the old furnace data to # determine how badly the furnace has diverged from
============================================================================= # Q8 You have been asked to go through all the old furnace data to # determine how badly the furnace has diverged from its original # performance. # # As a first step, determine the furnace's average power usage (kW hr) # for each year it has been running. The furnace runs for 8 hours. # # Make a function that recieves the "data directory" as an argument, and # saves the mean power usage as a dictionary. For each year you will # have: # 1. The year (type=int) as your key and # 2. The years mean power (type=float) as the values. # eg. my_dictionary[int(year)] = float(mean_power) # ============================================================================= # function name: yearly_mean_power_usage '''your function here'''
this is in python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started