Skip to content

Commit 98829dd

Browse files
authored
Update README.md
1 parent e29ff28 commit 98829dd

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • Classroom Challenge Projects/Projects/Maximizing Solar Panel Output for a Fixed Area

Classroom Challenge Projects/Projects/Maximizing Solar Panel Output for a Fixed Area/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ Your task: Find the optimal θ and r that maximizes energy output, using the pro
4343
### Suggested Steps
4444
Open the "SolarPanel_StudentProjectTemplate.mlx" Live Script in MATLAB as a starting point for your project.
4545
1. Define the objective function in MATLAB (the energy function).
46-
- Plug the given values and equations into the energy output equation, as shown below
47-
48-
49-
46+
- Plug the given values and equations into the energy output equation, as shown below:
47+
<img width="444" height="249" alt="image" src="./Equation_SolarPanel.png"/>
5048
3. Use 'fmincon' to find the values of θ and r that maximize the energy output. (Hint: Minimize -E(x) instead.) Constrain the values: 0° ≤ θ ≤ 90° and 0.5 ≤ r ≤ 4.
5149
4. Plot the objective function using 'fsurf' or a mesh plot to visualize E(θ, r). Print the optimal angle, ratio, and corresponding energy output.
5250

0 commit comments

Comments
 (0)