Question: X * #3 3 Background: Scarlet Gray installed a solar power system in their household and has an opportunity to earn credit in their electricity

X * #3 3 Background: Scarlet Gray installed a solar power system in their household and has an opportunity to earn credit in their electricity bill. When the solar power system is producing more electricity than is required by the household, the excess power is fed back to the grid. Households with excess power receive 8.541 cents per excess kilowatt-hour (kWh) produced. The file exTrack.txt contains daily readings of excess power generated over a billing period, expressed in kWh. Instances where excess power is produced appear as positive entries in the data and zero otherwise. Problem Statement: Calculate the total credit that Scarlet Gray will receive for this billing period, expressed in dollars. Load the data from exTrack.txt. Write a program in MATLAB using a for loop and if conditional expression that will: 1) count the number of instances that excess power was produced over the billing period, and 2) Calculate the total excess power produced over the billing period. Display two informative messages to

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!