Creating a Solar Model - Excel Help

  • Thread starter Thread starter PeteWheatstraw
  • Start date Start date
  • Tags Tags
    Excel Model Solar
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
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
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.