As part of analysing the double slit experiment, I've recorded position values for a number of minima and the central peak position.
Also, I've conducted a single slit experiment (with unknown width) and gathered around 50 data points. This is the graph I've plotted to obtain the measured voltage distribution.
Now, I would like to find a function that fits this graph. According to theory, it should be in the form \begin{equation} I(x)=I_{0}\left[\frac{\sin\left(\frac{\pi a x}{\lambda f}\right)}{\left(\frac{\pi a x}{\lambda f}\right)}\right]^{2}, \end{equation} where $I_{0}$ is the intensity at the centre and $\lambda$ is the wavelength. The wavelength $\lambda$, the focal length of the lens f and the separation of the slits d are known (incl. an error).
Then I'd like to take this computed function as an envelope for the intensity distribution of the double slit experiment I conducted. The formula should be:\begin{equation} I(x)=4I_{0}\left[\frac{\sin\left(\frac{\pi a x}{\lambda f}\right)}{\left(\frac{\pi a x}{\lambda f}\right)}\right]^{2} \cos^{2}\left(\frac{\pi d x}{\lambda f}\right) \end{equation}.
Eventually, I'd like to compare the predicted theory with the function obtained by fitting my single slit and double slit data to this general function. If possible, I'd also like to see if the with of the double slits equals the width of the single slit (assuming that both double slit widths are identical). However, I am not entirely sure if there is not a better way to analyse the data obtained by these two experiments.
I would very much appreciate any help. Thank you.