Question: In the Main Body section, code the following: a . Assign EbyM 2 to a row vector of monthly energy values in the table below

In the Main Body section, code the following:
a. Assign EbyM2 to a row vector of monthly energy values in the table below (only the numbers) in units of kWh, assign a budget B2 to 53 in units of dollars, and assign an energy cost rate CR2 as 0.0172 in units of dollars per kWh
\table[[Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec],[3060,,3200,,2940,,2700,,1640,,1460,,1510,,1580,,1380,,1940,,3050,,3230]]
b. Call the MaxMinEnergy function with the input as EbyM2 and the outputs as MaxE2, MaxM2, MinE2, and MinM2.
c. Call the EnergyCosts function with the inputs as EbyM2, CR2, and B2 and the outputs as EAvg2, CbyM2, CAvg2, and MexcB2.
d. Suppress all variable outputs. a. Your Command Window should look like Figure 2 below. Note, your fprintf statements should include a "new line" to make your output look like Figure 2 below.|
 In the Main Body section, code the following: a. Assign EbyM2

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!