This question was asked in Dispersion of light by prism
Question 
sri Varshni's image