So I have a high school physics project and I essentially have this experiment idea where I use spectroscopy to find the surface temperature of the sun. Now I'm essentially going to assume the Sun is a black body, then using a spectroscope I can analyse the spectra of the sun light and hence determine the peak wavelength. My idea is to then utilise Wien's Displacement Law to find the temperature of the sun. Now I'm not sure if this would work and was wondering if it does.
This is high school physics so I'm probably making a lot of assumptions here that may be inaccurate, but if the experiment gives me a temperature value that is close to the actual value that would be fine. Also our spectrometers aren't very advanced. It basically displays the spectra on a screen and then to analyse it my teacher's have told me that I would need to take a photo of the spectra and utilise software to create a wavelength vs intensity graph of the spectra. Then use that to find the peak wavelength.
Anyhow any advice around wether this experiment would work, limitations and improvements would be greatly appreciated.