Solving Maths Problems: Using Excel for Finding Values of s and r

  • Thread starter Thread starter sara_87
  • Start date Start date
  • Tags Tags
    Excel
Click For Summary

Discussion Overview

The discussion revolves around using Excel to solve a mathematical problem involving the formula x=(y/s)^r. Participants are exploring methods to find the values of s and r based on given data points for x and y, with a focus on whether linearization is necessary and how to implement the calculations in Excel.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant suggests using logarithms to linearize the formula and then applying linear regression to extract s and r.
  • Another participant provides the linearized formula ln(y)=(-1/r)ln(x)+ln(s) and indicates that the slope and intercept can be used to find s and r.
  • There is a question about how to plot the data in Excel and whether the resulting plot should be linear or curved.
  • Participants express confusion about the plotting results, noting that a scatter plot produced a curve instead of a line, raising questions about the correctness of the approach.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether linearization is necessary, as some advocate for it while others explore direct methods in Excel. The discussion remains unresolved regarding the correct approach to plotting and extracting values.

Contextual Notes

There are limitations in the discussion regarding the assumptions made about the data and the method of plotting. The participants have not fully resolved the mathematical steps involved in extracting s and r from the plotted data.

sara_87
Messages
748
Reaction score
0

Homework Statement



I have a formula:
x=(y/s)^r

I am given data: 6 values for x and the corresponding 6 values for y.
I am to find the values of s and r.
I could take logarithms and make this formula linear then use linear regression (as in statistics) and do the method of least squares.
But i was told that using excel is much simpler (where i don't need to put this in terms of logarithms)
But how do i use excel for such a problem?

Homework Equations





The Attempt at a Solution



I typed in the values of x in the first excel column, and the values of y in the second. but then i got stuck. i have no idea how to and where to type in the formula.
Thank you
 
Physics news on Phys.org
I believe you still need to linearize the formula. Consider what happens when you plot ln(y) versus ln(x). Excel can then give you an equation for the resulting plot of best fit. Using your linearized formula (what is it?), you should be able to easily extract s and r.
 
The linearized formula is:
ln(y)=(-1/r)ln(x)+ln(s)
so -1/r will be the gradient and ln(s) is the intercept of the plot ln(y) versus ln(x)
how do i plot this on excel?
Do i first type in the given values of x in column A and the given values of y in column B?
 
In column A, i typed the 6 values of x, and in B i typed the 6 values of y.
then in column C, i did: =log(A2) for the first one. and did the same for the rest.
in coulmn d, i did =log(B2) and the same for the rest.
The i did a scatter plot.
but this gave me a curve.
shouldnt it be a line?
And how can i then extract s and r?
thank you
 
sara_87 said:
In column A, i typed the 6 values of x, and in B i typed the 6 values of y.
then in column C, i did: =log(A2) for the first one. and did the same for the rest.
in coulmn d, i did =log(B2) and the same for the rest.
The i did a scatter plot.
but this gave me a curve.
shouldnt it be a line?
And how can i then extract s and r?
thank you

I presume the values in column A begin in cell A2, and in column B begin in cell B2? Can you just list the values you were given for x and y?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
12K
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K