Finding uncertainty for varying error bars

AI Thread Summary
The discussion focuses on finding the gradient and y-intercept of a linear graph related to Compton scattering, while accounting for varying uncertainties in the data points. The user seeks a method in Excel or Mathematica to determine maximum and minimum gradient lines without resorting to a brute force approach. They mention that the uncertainty for the angle (1-cos θ) is straightforward, but the uncertainty for the scattered gamma ray energy (E') is complex due to the nature of the measurements. The user acknowledges the need for a weighted regression fit to better handle the varying error bars. For now, they plan to proceed with a brute force method for their report but remain open to suggestions for more efficient solutions.
joelwong
Messages
2
Reaction score
0

Homework Statement


I am currently doing an experiment on Compton scattering and have plotted a linear graph of 1/E' on (1-cos θ), where E' is the scattered gamma ray energy. My goal is to find the value of the gradient and y-intercept with their corresponding uncertainties. Instead of using the statistical uncertainty as given by excel's LINEST function, I want to use the physically obtained ones. i.e. Due to the limitations of the apparatus. This has resulted in varying error bars for each point, which makes it very difficult to find the lines with max/min gradient. Is there any function in excel to find the max/min gradient lines?

I use Mathematica too if it helps.

Homework Equations


The equation is:

1/E' = 1/E + 1/mc2(1-cos θ)

The gradient is 1/E and the y-intercept is 1/mc2

The Attempt at a Solution


I know I can probably do it the brute force way- adjusting the lines until it fits within the error bars. But I' ve encountered this a few times already and I'm wondering if there is a function to do it quickly.
 
Physics news on Phys.org
A crude way is to repeat data points according to the degree of certainty. Can you figure out the relationship?
But what you really want is a weighted regression fit. I don't know if Mathematica offers that. If not, you could write some spreadsheet formulas to do it.

And welcome to PF.
 
Thanks haruspex for the reply.

I'm not too sure what you mean by repeat data points according to the degree of uncertainty.

The uncertainty for (1-cosθ) is simple, d(1-cosθ) = sinθ dθ, so the uncertainty increases with θ. I have taken results for 15°, 30°, 45°,...

The uncertainty relationship for E' is not as simple- it is based on the FWHM of each photopeak of the spectrum, so there is no clear relationship.

The spectrum is taken by using a NaI(Tl) detector over a period of time. Thus, multiple readings will not make any difference, since every time period is independent of the other. Thus, the data points I have obtained over 180s are total counts over that period of time. Taking multiples readings and adding them up will get me the same result.

Note: I decided to do it the brute force way for now, since I have to submit the report. But I still welcome any responses, since it's something good to learn. I'll see if I can craft some excel function to do the trick when I have the time.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Back
Top