Creating a Solar Model - Excel Help

  • Thread starter Thread starter PeteWheatstraw
  • Start date Start date
  • Tags Tags
    Excel Model Solar
Click For Summary

Homework Help Overview

The problem involves calculating values in a solar model using Excel, specifically focusing on the equations for columns I and J based on previous calculations and slopes. The original poster is encountering unexpected negative values in their results.

Discussion Character

  • Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the need for parentheses in the equations and question the use of the SUMPRODUCT function, suggesting it may not be necessary for the calculations being performed.

Discussion Status

Some participants have offered guidance regarding the equation structure and the potential removal of the SUMPRODUCT function. The discussion is exploring different interpretations of the problem setup and the use of Excel functions without reaching a consensus.

Contextual Notes

The original poster mentions a lack of instruction on using Excel from their professor, indicating a constraint in their understanding of the software.

PeteWheatstraw
Messages
6
Reaction score
0

Homework Statement



The problem given is...Calculate mI+1 and lI+1 at point xI+1 using equation (5), the values of the slopes at points xI+1 and xI from equation (4), and the values of mI and lI from the previous step.

Here is a screenshot of my solar model

solarmodel_zps169d03c0.png


Homework Equations



solarmodel2_zps8032b590.png

The Attempt at a Solution



I need help with columns I and J.

For column I, I have the equation entered as =SUMPRODUCT(I2+1/2*(G3+G2)*B3-B2)

For J I have =SUMPRODUCT(J2+1/2*(H3+H2)*B3-B2)

and for some reason I'm getting negative values when as it goes down it should be getting closer to 1

Thanks in advance!
 
Physics news on Phys.org
You need parentheses around B3-B2.
(Why do you need to use sumproduct? You're not using entire arrays of numbers to calculatd a single cell, are you?)
 
haruspex said:
You need parentheses around B3-B2.
(Why do you need to use sumproduct? You're not using entire arrays of numbers to calculatd a single cell, are you?)

Thank you so much! I knew it was something obvious that would make me look stupid ;)

To your question...I'm not really sure. I'm excel illiterate and our professor expects us to use it without ever showing us anything.
 
PeteWheatstraw said:
To your question...I'm not really sure. I'm excel illiterate and our professor expects us to use it without ever showing us anything.

Try removing the SUMPRODUCT() wrapper. I don't think it's doing anything.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
35
Views
6K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K