How Do I Format This Excel Equation Correctly?

  • Thread starter Thread starter ricky12tt
  • Start date Start date
  • Tags Tags
    Excel Format
Click For Summary

Discussion Overview

The discussion revolves around formatting an Excel equation correctly for a specific mathematical ratio involving variables R and λ. Participants explore the challenges of implementing the equation in Excel, including syntax issues and the clarity of the mathematical expression.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents the equation T_b/T_a =([R^4-(R-λR)^4])/([4λR^2 (R-λR/2)^2]) and attempts to convert it into an Excel formula but encounters issues with getting zero results.
  • Another participant suggests breaking the equation into manageable parts and using simpler operators for clarity, questioning whether R cancels out in the ratio.
  • A participant expresses confusion over the use of the QUOTIENT function in Excel and questions the correctness of the mathematical operations, suggesting a potential mistake in the original formula.
  • One participant corrects themselves, stating that multiplication was intended rather than subtraction in the formula.
  • Another participant emphasizes the importance of performing algebraic simplifications before entering the equation into Excel to avoid complications.
  • Some participants share their experiences with different versions of Excel and express skepticism about compatibility issues between versions.
  • Several participants report success after simplifying their formulas and using basic functions, indicating a resolution to their initial problems.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding the correct interpretation of the mathematical expression and the best approach to implement it in Excel. While some find success with simplified formulas, others remain uncertain about specific aspects of the original equation.

Contextual Notes

Some participants note the potential for confusion in the original equation due to missing symbols and the complexity of nested operations in Excel. There is also mention of the importance of algebraic simplification before programming the equation.

ricky12tt
Messages
5
Reaction score
0
Ok, so the teacher gave us an assignment to write a program that calculates the ratio below, tabulate it and plot it.. for given values of R and λ.

T_b/T_a =([R^4-(R-λR)^4])/([4λR^2 (R-λR/2)^2])

I figured that I would use Excel to do this.

I think the above equation converts to the function below in excel but I keep getting zero for all values I try.

C2=R
And A4=λ

=QUOTIENT(((POWER(C2,4))-(POWER((C2)-(PRODUCT(C2,A4)),4))),(PRODUCT((POWER(((C2)-(QUOTIENT((PRODUCT(A4,C2)),2))),2)),4,A4,(POWER(C2,2)))))


Any help would be appreciated.
Thanks
 
Technology news on Phys.org
I would break it up into manageable chunks putting them in a series of cells. Then combining the pieces into the final relationship.

Also you can use simple operators like ^ for exponentiation, * for multiplication and / for divide. That may be easier to read and troubleshoot then the functions you are using.

Is that ratio correct? Looks to me like R cancels out.
 
Well... my excel does not understand "QUOTIENT" (I have an English speaking Excel 2003).
And also, there seems a mistake in your formula: ([R^4-(R-λR)^4])/([4λR^2 (R-λR/2)^2]) - the underlined part, should I subtract one part from the other, or multiply? There's a symbol missing. I chose for subtracting.

Then:
T_b/T_a =([R^4-(R-λR)^4])/([4λR^2 - (R-λR/2)^2])
T_b = ([R^4-(R-λR)^4])
T_a = ([4λR^2 - (R-λR/2)^2])

And in Excel language:
(For T_b)
=((C2^4)-(C2-($A$4*C2)^4))
(For T_a)
=((4*$A$4*C2^2)-(C2-($A$4*C2/2)^2))
 
I'm sorry.. it supposed to be multiplied
([R^4-(R-λR)^4])/([(4λR^2)*(R-λR/2)^2])

I'll try your suggestion. I have Excel 2007 though.
I think Initially your method is what I had tried but I'll give it a go again.




CaptainPanic said:
Well... my excel does not understand "QUOTIENT" (I have an English speaking Excel 2003).
And also, there seems a mistake in your formula: ([R^4-(R-λR)^4])/([4λR^2 (R-λR/2)^2]) - the underlined part, should I subtract one part from the other, or multiply? There's a symbol missing. I chose for subtracting.

Then:
T_b/T_a =([R^4-(R-λR)^4])/([4λR^2 - (R-λR/2)^2])
T_b = ([R^4-(R-λR)^4])
T_a = ([4λR^2 - (R-λR/2)^2])

And in Excel language:
(For T_b)
=((C2^4)-(C2-($A$4*C2)^4))
(For T_a)
=((4*$A$4*C2^2)-(C2-($A$4*C2/2)^2))
 
I would try that. They probably do cancel out but the arithmetic was taking me too long.


Integral said:
I would break it up into manageable chunks putting them in a series of cells. Then combining the pieces into the final relationship.

Also you can use simple operators like ^ for exponentiation, * for multiplication and / for divide. That may be easier to read and troubleshoot then the functions you are using.

Is that ratio correct? Looks to me like R cancels out.
 
If you are unable to do the simple algebra required to cancel out the R, how do you hope to get the formula entered correctly into Excel?

Do the Algebra, it will simplify the spread sheet.

Also note that double posting is strictly against fourm policy.
 
I didn't bother to do any algebra... but indeed, if it is important, writing out an equation on paper before entering it into the computer generally makes life easier. Equations in a computer program can become a nightmare with all the brackets and pluses/minuses.

I'd be surprised if Excel 2003 "language" does not work in 2007. If that would be true, it would be a very strong argument for Matlab or Octave (Octave is the GPL version of Matlab, with a lot less functionality, but more than adequate to plot this little equation).
 
Hey Thanks. I used the simpler functions and they worked.
 
I got it working.
Thanks for all the help

CaptainPanic said:
I didn't bother to do any algebra... but indeed, if it is important, writing out an equation on paper before entering it into the computer generally makes life easier. Equations in a computer program can become a nightmare with all the brackets and pluses/minuses.

I'd be surprised if Excel 2003 "language" does not work in 2007. If that would be true, it would be a very strong argument for Matlab or Octave (Octave is the GPL version of Matlab, with a lot less functionality, but more than adequate to plot this little equation).
 

Similar threads

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