Use linear regression to find Planck’s constant

In summary, the conversation is about using Excel to find Planck's constant using given data on frequency and photon energy. The person asking the question is using linear regression and has set the intercept to zero, but is getting a slightly incorrect value for h. It is suggested that the honest treatment would be to plot frequency vs. photoelectron energy and extract the work function and Planck's constant as the intercept and slope of the regression line. The person responds that they did not collect the data themselves and were taught to set the intercept to zero, but will keep the suggested points in mind.
  • #1
member 731016
Homework Statement
Please see below
Relevant Equations
E = hf
I am trying to find Planck's constant using Excel given the data:

Frequency [Hz]Photon Energy [J]
7.5E+14​
4.90E-19​
6.7E+14​
4.50E-19​
6E+14​
4.00E-19​
5.5E+14​
3.60E-19​
5E+14​
3.30E-19​
4.6E+14​
3.00E-19​
4.3E+14​
2.80E-19​
4E+14​
2.65E-19​
3.75E+14​
2.50E-19​
I am using Linear regression and I have set the intercept to zero since photon energy is directly proportional to frequency from Planck's Law

My graph is,
1678592068711.png

However, why is the linear regression giving an incorrect value for h? According to the data Planck's Constant is ##7 \times 10^{-34} Js ## but it meant to be ##6.63 \times 10^{-34} Js##

Many thanks!
 
Physics news on Phys.org
  • #2
Callumnc1 said:
However, why is the linear regression giving an incorrect value for h? According to the data Planck's Constant is ##7 \times 10^{-34} Js ## but it meant to be ##6.63 \times 10^{-34} Js##

Many thanks!
You can tell the spreadsheet software how many sig figs to show in the formula.
 
  • Like
Likes member 731016
  • #3
haruspex said:
You can tell the spreadsheet software how many sig figs to show in the formula.
Thank you for your reply @haruspex!

I will try 3 sig figs just like the Planck's constant then.

Many thanks!
 
  • #4
Callumnc1 said:
Thank you for your reply @haruspex!

I will try 3 sig figs just like the Planck's constant then.

Many thanks!
Thank you @haruspex!

I have done that and got:
1678596242696.png

That is probably the most accurate experimental value for h I'm going to get.

Thank you!
 
  • #5
Callumnc1 said:
Thank you @haruspex!

I have done that and got:
View attachment 323496
That is probably the most accurate experimental value for h I'm going to get.

Thank you!
Sorry that is 4 sig fig. To 3 sig fig it is 6.60.

Many thanks!
 
  • #6
Depending on the experiment I would say that 7 is a very good result, because it is less that 6% greater than the value in tables :)
 
  • Like
Likes member 731016
  • #7
malawi_glenn said:
Depending on the experiment I would say that 7 is a very good result, because it is less that 6% greater than the value in tables :)
Thank you for your reply @malawi_glenn !
 
  • #8
How did you collect these data? It is unlikely that you measured the energy and frequency independently. If they are obtained from a photoelectric effect experiment, the honest treatment would be to plot frequency vs. photoelectron energy (or stopping voltage) and extract both the work function and Planck's as the intercept and slope of the regression line. If, as you may have done here, you pre-calculate the work function and then force a zero intercept, you are biasing the data. The linear regression algorithm in Excel should have the freedom to trade slope for intercept.
 
  • Like
Likes member 731016
  • #9
kuruman said:
How did you collect these data? It is unlikely that you measured the energy and frequency independently. If they are obtained from a photoelectric effect experiment, the honest treatment would be to plot frequency vs. photoelectron energy (or stopping voltage) and extract both the work function and Planck's as the intercept and slope of the regression line. If, as you may have done here, you pre-calculate the work function and then force a zero intercept, you are biasing the data. The linear regression algorithm in Excel should have the freedom to trade slope for intercept.
Thank you for your reply @kuruman!

I did not collect that data. I think the professor found it online. We were taught to set the intercept equal to zero in Excel since we are not that advanced yet. They may teach us that stuff you are saying in their second- and third-year experimental physics courses.

But thank you mentioning those points, that is helpful to keep in mind.

Many thanks!
 
  • Informative
Likes kuruman
  • #10
Callumnc1 said:
Thank you for your reply @kuruman!

I did not collect that data. I think the professor found it online. We were taught to set the intercept equal to zero in Excel since we are not that advanced yet. They may teach us that stuff you are saying in their second- and third-year experimental physics courses.

But thank you mentioning those points, that is helpful to keep in mind.

Many thanks!
That's fine then. Thanks for the clarification.
 
  • Like
Likes member 731016
  • #11
kuruman said:
That's fine then. Thanks for the clarification.
Thank you for your help @kuruman!
 

Related to Use linear regression to find Planck’s constant

What is Planck's constant?

Planck's constant is a fundamental physical constant that relates the energy of a photon to its frequency. It is denoted by the symbol h and has a value of approximately 6.626 x 10^-34 Joule seconds (Js).

How can linear regression be used to find Planck's constant?

Linear regression can be used to find Planck's constant by analyzing the relationship between the frequency of light and the energy of emitted electrons in the photoelectric effect. By plotting the frequency (x-axis) against the kinetic energy of the electrons (y-axis) and performing linear regression, the slope of the resulting line can be used to determine Planck's constant.

What data is needed to perform linear regression to find Planck's constant?

To perform linear regression to find Planck's constant, you need data on the frequency of incident light and the corresponding kinetic energy of emitted electrons. This data can be obtained from experiments involving the photoelectric effect.

What is the equation used in the linear regression method to find Planck's constant?

The equation used is derived from the photoelectric effect equation: E = hf - φ, where E is the kinetic energy of the emitted electron, h is Planck's constant, f is the frequency of the incident light, and φ is the work function of the material. In a linear regression model, E is the dependent variable, f is the independent variable, the slope of the line represents Planck's constant (h), and the y-intercept represents the work function (φ).

What are the potential sources of error when using linear regression to find Planck's constant?

Potential sources of error include inaccuracies in measuring the frequency of light or the kinetic energy of electrons, experimental setup limitations, and assumptions made in the linear regression model. These errors can affect the accuracy of the calculated value of Planck's constant.

Similar threads

  • Introductory Physics Homework Help
Replies
1
Views
3K
Replies
8
Views
1K
Replies
2
Views
10K
Replies
11
Views
5K
Back
Top