Finding the Function to Model a Rainbow

Find the suitable function which gives the rainbow in the picture.