Octave coding assignment
1. Write a function named compute Energy that takes in as input the number of panels and computes the amount of energy produced in a typical day. The amount of energy produced by a panel depends on the time of day and can be modeled by the mathematical formula below, where t is an array of values from 1 to 24 hours. f(t)=e−(t−12)21.52π√f(t)=e−(t−12)21.52π 2. After […]